Question · Angular course · Module 4: Routing

Child Routes

How do we define nested routes in Angular?

Answer options

  • Using the 'nested' property in the route definition
  • Using the 'children' property with an array of routes
  • By importing RouterChildModule
  • By defining a separate routes file for each level

You can check the correct answer by solving this task in the CodeWorlds game.