InterviewSolution
Saved Bookmarks
| 1. |
What is Route Guards in Angular 6? Also, explain its types. |
|
Answer» In Angular, Route GUARDS are interfaces that tell the router whether or not it should allow navigation to a specifically requested route. This decision is made by looking for a true or false value returned from a class implementing the given guard interface. There are FIVE DIFFERENT types of Route Guards in Angular and each of them is called in a PARTICULAR sequence. The router’s behavior is altered as PER the use of the specific guard. The guards:
|
|