Chapter 4Multiple Views and Routing

By now you're about a quarter of the way to becoming an AngularJS ninja! You've mastered the basic AngularJS concepts (you probably see data binding in your dreams). But now is the time to take your skills to a whole new level with AngularJS routing. Every web app you'll build in future will have different views associated with it. For example, our blogging app has a view to display all the blog posts, and another view to display individual blog posts. Similarly, there can be separate views for different CRUD operations. As we're developing Single Page Apps, it's important to map each route to a particular view. This logically divides your app into manageable parts and keeps it maintainable. Fortunately, AngularJS ...

Get AngularJS: Novice to Ninja now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.