What is canactivate in angular?
Answer / Anupam Sharma
CanActivate is an Angular guard interface responsible for determining whether a route should be activated or not. It's often used to protect routes from unauthorized access.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between structural directive and attribute directive in angular 7?
What is routing and navigation in angular?
Why we need angular services?
How to set authorization headers in get/post/put requests in angular?
Distinguish between angularjs and javascript expressions.
What is a controller's job?
What is angular expression? How do you differentiate between angular expressions and javascript expressions?
Distinguish between factory, service & provider?
How does aot compiler work?
Explain directive scopes in angularjs?
How an object or function can get a hold of its dependencies?
What is an eventemitter?