Chapter 7. Structuring your site with routes

This chapter covers

  • Components of AngularJS routes
  • Creating routes
  • Route parameters
  • Creating and resolving dependencies in routes
  • Route events

Angello is starting to grow in complexity, with distinct but related areas of functionality such as managing users, managing user stories, and displaying visualizations. How do you know when to show the user and when to show the user stories? What if you want to show just the user stories for a specific user? This can get complex as you try to account for all the possible permutations.

Every web application has a URL, and you can use this to define the state of the application. Based on the URL, you can intelligently route the user to the part of the ...

Get AngularJS in Action 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.