Which Route Guard method should be implemented to decide whether navigation to a route should be allowed?
- canActivate
- canActivateChild
- canDeactivate
- canLoad
In Angular, the canActivate method of a Route Guard should be implemented to decide whether navigation to a route should be allowed.
Loading...
Related Quiz
- What does the routerLink directive do in Angular?
- Angular Universal generates _____ pages to improve the initial load time of an application.
- What is the advantage of using custom async validators in Angular forms?
- To detach a component from Angular's change detection system, you would call the _____ method on the component's change detector.
- How can you handle errors within a Route Resolver?