Routing Introduction
- RouterModule exposes a bunch of directives and services that we use to implement navigation in our application
Steps for implementing navigation
- Configure the routes
- Each route determines what component is visible when the user navigates to certain url
- A route is the mapping of the path to the component
- Add a router outlet
- Router outlet is where angular will display the corresponding component when the given route becomes active
- Add links