I have a route like this
And in my header.component.html I want to have a link to this page
<a routerLink="['projects', progectId,'settings']" routerLinkActive="active">cool link</a>
I have a project.component, where when I click on some project I go on the project page. And then I need have a possibility go to
projects/:id/settings or another similar route.
How can I pass
progectId variable from projects.component?
Or maybe somebody knows another way to implement this.