© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. FreemanPro Angular https://doi.org/10.1007/978-1-4842-8176-5_26

26. Routing and Navigation: Part 3

Adam Freeman1  
(1)
London, UK
 
In this chapter, I continue to describe the Angular URL routing system, focusing on the most advanced features. I explain how to control route activation, how to load feature modules dynamically, and how to use multiple outlet elements in a template. Table 26-1 summarizes the chapter.
Table 26-1

Chapter Summary

Problem

Solution

Listing

Delaying navigation until a task is complete

Use a route resolver

1–6

Preventing route activation

Use an activation guard

7–13

Preventing the user from navigating away from the current content

Use a deactivation ...

Get Pro Angular: Build Powerful and Dynamic Web Apps 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.