title: How to pass a parameter to routerLink that is somewhere inside the URL?
body: <p>I know I can pass a parameter to <code>routerLink</code> for routes such as</p>
  
  <pre><code>/user/:id
  </code></pre>
  
  <p>by writing</p>
  
  <pre><code>[routerLink]="['/user', user.id]"
  </code></pre>
  
  <p>but what about routes such as this one:</p>
  
  <pre><code>/user/:id/details
  </code></pre>
  
  <p>Is there a way to set this parameter or should I consider a different URL scheme?</p>