title: Angular2: Pass boolean through routerLink
body: <p>I'm trying to pass a a boolean through a routerLink from a task-page to a team-page but I can't seem to use the value in my HTML-sheet, am I doing something wrong? </p>
  
  <p><em>I've tried to do it like this</em>:</p>
  
  <pre><code>&lt;a [routerLink]="['/team', projectID, {projectTeam: true}]"&gt;Teampage&lt;/a&gt;
  </code></pre>
  
  <p><em>and I've tried to do it like this</em>:</p>
  
  <pre><code>&lt;a [routerLink]="['/team', projectID" [queryParams]="{projectTeam: true}&gt;Teampage&lt;/a&gt;
  </code></pre>
  
  <p>However no error is shown and there is no issue compiling, neither of them seem to work and I can't use @Input() because its a link <code>&lt;a&gt;</code> tag.</p>
  
  <p><em>The HTML-sheet where I want to use the boolean</em>:</p>
  
  <pre><code>&lt;md-card&gt;
     &lt;md-card-title *ngIf="projectTeam" class="card_title_center"&gt;Project&lt;/md-card-title&gt;
     &lt;md-card-subtitle class="card_title_center"&gt;TEAM&lt;/md-card-subtitle&gt;
     ...
  &lt;/md-card&gt;
  </code></pre>
  
  <p>Used documentation: <a href="https://angular.io/docs/ts/latest/api/router/index/RouterLink-directive.html" rel="nofollow noreferrer">https://angular.io/docs/ts/latest/api/router/index/RouterLink-directive.html</a></p>