To guard a route against unauthorized access, you can implement a custom class that implements the _____ interface.
- AuthenticationGuard
- CanActivate
- CanActivateChild
- RouteGuard
To guard a route against unauthorized access, you can implement a custom class that implements the CanActivate interface.
Loading...
Related Quiz
- In an Angular application, you want to create an animation where an element fades in and then scales up. Which Angular animation functions would you use to create this effect?
- How does Angular Universal improve the perceived performance of an application?
- What is the advantage of using a Route Resolver over fetching data directly in the component?
- What is the main purpose of using directives in Angular applications?
- What is the purpose of Angular's built-in debugger statement?