Angular routing is one of the core functionalities of any web application. In this chapter, we discussed, designed, and implemented our Angular routing in detail. We also discussed how to implement and enable RouterModule.forRoot. Additionally, we defined Router Outlet and routerLink directive to bind the route path and enabled RouterLinkActivated to find the current active state.
We focused on how route state works, and understood and implemented Route Lifecycle Hooks. We outlined how to create custom component routes and child routes and how to implement location strategy for our web applications. Finally, we created a sample application implementing routes and navigation.
In the next chapter, you will learn about creating directives and implementing change detection. You will also learn about directives, different types of directives provided by Angular, and also create...