Summary
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access