What is a guard in angular?
Answer / Rajendra Pratap Singh
A Guard in Angular is a service that intercepts navigation transitions and allows you to decide whether the transition should be allowed or blocked based on certain conditions, such as authentication. Guards can be used to ensure that only authenticated users have access to certain routes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain different filters provided by angularjs?
What is the use of ng dblclick?
What is mat card in angular?
What is angular and why it is used?
What is shadow dom? How is it helping angular 2 to perform better?
What are the securities threats should we be aware of in angular 2 applications?
Why do we need angular 2?
What is the use of ngfor directive in angular?
How to load external css style into angular 2?
What is the difference between structural and attribute directives in angular?
How performance improvements on the core in angular 8?
What is internationalization and how to implement it in angular js?