O'Reilly logo

Responsive Web Design with AngularJS by Sandeep Kumar Patel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. The AngularJS Dynamic Routing-based Approach

In this chapter, you will learn about dynamic routing using user agent detection controlled by AngularJS. The key concepts of AngularJS that we will cover in this chapter are ngRoute and provider module. To learn these features you will configure a new project. This chapter deals with setting up a code base to explore these features.

Setting up an AngularJS project

In this section, we will set up a new project and configure the development environment to develop a dynamic routing module using the AngularJS library. The following tools are required to build a development environment:

  • Code editor: This editor is used to develop applications in WebStorm IDE from JetBrains for development purposes. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required