What are guards in angular 2?
Answer / Ravindra Kumar Ram
Guards in Angular (in version 2) function similarly to interceptors, but they intercept navigation transitions instead of HTTP requests. They allow you to decide whether the transition should be allowed or blocked based on certain conditions, such as authentication.
| Is This Answer Correct ? | 0 Yes | 0 No |
How are the services injected to your application?
List the differences between angular 2 components vs. Directives.
What do you understand by isolated unit tests?
What is afterviewinit?
What is pure pipe?
How do you use flexbox?
What is key value pipe in angular 7?
What is art compilation?
Which other primeng components have you used with angular 2?
What is routerstate?
Explain about routing and why do we use it?
What is urlsegment interface in angular 7?