How can you achieve nested routing (child routes) within an Angular application?

  • By defining child routes in the RouterModule
  • By using Angular's loadChildren feature
  • By using Angular's canActivateChild guard
  • By applying a deep route nesting hierarchy
To achieve nested routing (child routes) in Angular, you define child routes within the RouterModule configuration. This allows you to create a hierarchical structure of routes. The other options relate to Angular's routing features but do not specifically address the process of achieving nested routes.
Add your answer
Loading...

Leave a comment

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