What is the use of CanActivate in angular 4?
CanActivate is a feature in the Angular Interface focused on security. It prompts the user to login to the application during the routing of a page.
BY Best Interview Question ON 04 Feb 2020