How can you protect child routes with a Route Guard in Angular?

  • By using 'canActivate' Route Guard
  • By using 'canActivateChild' Route Guard
  • By using 'canDeactivate' Route Guard
  • By using 'canLoad' Route Guard
To protect child routes in Angular, you use the 'canActivateChild' Route Guard. It allows you to guard access to child routes based on conditions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *