Relative links/partial routes with routerLink : <p>In my app some URLs take the form</p>

<pre><code>/department/:dep/employee/:emp/contacts
</code></pre>

<p>In my sidebar I show a list of all employees, each of which has a <code>[routerLink]</code> which links to that employee's contacts</p>

<pre><code>&lt;ul&gt;
    &lt;li&gt;
        &lt;a [routerLink]="['/department', 1, 'employee', 1, 'contacts']"&gt;&lt;/a&gt;
    &lt;li&gt;
    &lt;li&gt;
        &lt;a [routerLink]="['/department', 1, 'employee', 2, 'contacts']"&gt;&lt;/a&gt;
    &lt;li&gt;
    ...
&lt;/ul&gt;
</code></pre>

<p>However, with this approach I always need to provide the full path, including all the params (like <code>dep</code> in the above example) which is quite cumbersome. Is there a way to provide just part of the route, such as</p>

<pre><code>&lt;a [routerLink]="['employee', 2, 'contacts']"&gt;&lt;/a&gt;
</code></pre>

<p>(without the <code>department</code> part, because I don't really care about <code>department</code> in that view and my feeling is that this goes against separation of concerns anyway)?</p>
