title: Logout link in angular 2
body: <p>Folks, 
  Need your help in below angular 2 application scenario.
  I have logout link which needs to invoke method in AuthService. </p>
  
  <pre><code>&lt;li&gt;&lt;a [routerLink]="['/logout']"&gt;&lt;span class="glyphicon glyphicon-log-out" aria-hidden="true"&gt;&lt;/span&gt; Logout&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>method in AuthService:</p>
  
  <pre><code>//logout
   logout() {
     this.isUserLoggedin = false;
   }
  </code></pre>
  
  <p>How to achieve this? I dont want to create yet a new component just for calling logout. 
  Appreciate your help.</p>