O'Reilly logo

Mastering Angular Components by Gion Kunz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Back to the routes

All right, now it's time to implement routing for our application! In the upcoming topics, we'll create the following routes for our application:

Route path
Description

/projects/:projectId

This route will activate the project container component in the outlet of our root application component. This consists of the projects URL segment as well as the :projectId URL segment to specify the project ID.

/projects/:projectId/tasks

This route will activate the TaskListContainer component inside of our project component. While we're currently rendering the task list directly within the template of the project component, we will make use of an other router outlet instead.

/projects/:projectId/comments

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required