© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
M. D. CallaghanAngular for Business https://doi.org/10.1007/978-1-4842-9609-7_6

6. Resolve or Die: Error Handling Strategies for Loading Data

Michael D. Callaghan1  
(1)
Celebration, FL, USA
 

Angular Route Guards and Resolvers

Angular provides a powerful mechanism for controlling access to routes in your application – Route Guards. These sentinel-like entities effectively ensure that certain conditions are met before a route is activated. Are you wondering if a user is authenticated? A Route Guard can verify that. If the user isn’t authenticated or doesn’t belong to the appropriate authorization group, access to the guarded route is denied. Route Guards embody ...

Get Angular for Business: Awaken the Advocate Within and Become the Angular Expert at Work 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.