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 ...
Get Angular Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.