Angular 2 Router Link with multiple parameters
<p>I have a route like this</p>

<pre><code>   path: 'projects/:id/settings'
</code></pre>

<p>And in my header.component.html I want to have a link to this page</p>

<pre><code>&lt;a routerLink="['projects', progectId,'settings']" routerLinkActive="active"&gt;cool link&lt;/a&gt;
</code></pre>

<p>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 <code>projects/:id/settings</code> or another similar route.</p>

<p>How can I pass <code>progectId</code> variable from projects.component?<br>
Or maybe somebody knows another way to implement this.</p>