The _____ method in a Route Guard is used to check whether a user can navigate to a specific route.
- canActivate
- canDeactivate
- canNavigateTo
- checkRouteAccess
The canActivate method in a Route Guard is used to check whether a user can navigate to a specific route by returning true or false based on certain conditions.
Loading...
Related Quiz
- What language is used to write E2E tests in Protractor?
- In a scenario where you need to combine responses from multiple API calls but only want to proceed when all calls have completed successfully, which RxJS operator would be most suitable?
- Custom directives in Angular can be used to extend the behavior of _____.
- How can you ensure that an Observable sequence retries a specific number of times after encountering an error before finally failing?
- In reactive forms, the _____ operator is often used to transform and process form values before submission.