Where in an Angular application would you typically define child routes?

  • In a separate routing module
  • In the app.component.ts file
  • In the app.module.ts file
  • In the parent component's template
Child routes in an Angular application are typically defined in a separate routing module dedicated to the feature module or component that contains those child routes. This helps organize the routing configuration and keep it modular.
Add your answer
Loading...

Leave a comment

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