6. Routing

Routing

There are new requirements for the Tour of Heroes app:

  • Add a Dashboard view.
  • Add the ability to navigate between the Heroes and Dashboard views.
  • When users click a hero name in either view, navigate to a detail view of the selected hero.
  • When users click a deep link in an email, open the detail view for a particular hero.

When you’re done, users will be able to navigate the app like this:

View navigations

To satisfy these requirements, you'll add Angular’s router to the app.

For more information about the router, read the Routing and Navigation<