5 min read
•Question 11 of 46mediumRoute Guards
Protecting routes with guards.
Types of Guards
- CanActivate: Can route be activated?
- CanActivateChild: Can child routes be activated?
- CanDeactivate: Can route be deactivated?
- CanLoad: Can lazy module be loaded?
- Resolve: Pre-fetch data before activation