Chapter 7: Understanding Angular Navigation and Routing
One of the most amazing things about Angular is that it is an entire ecosystem (a framework) rather than a library. In this ecosystem, the Angular router is one of the most critical blocks to learn and understand. In this chapter, you'll learn some really cool techniques about routing and navigation in Angular. You'll learn about how to guard your routes, listen to route changes, and configure global actions on route changes.
The following are the recipes we're going to cover in this chapter:
- Creating an Angular app and modules with routes using the CLI
- Feature modules and lazily loaded routes
- Authorized access to routes using route guards
- Working with route parameters
- Showing a global loader between route changes
- Preloading route strategies