title: Angular2 CanActivate from beta to current RC3
body: <p>I'm trying to implement in Angular2, the Auth0 login method from this <a href="https://youtu.be/n4gSXwVDkSw?t=8m15s" rel="nofollow">video</a>. He is also using <code>angular2-jwt</code>.</p>
  
  <p>I read the <a href="https://angular.io/docs/ts/latest/guide/router.html#!#can-activate-guard" rel="nofollow">documentation</a>, tried to implement it, but i can't get it right.<br>
  I tried <code>export class NavbarComponent implements CanActivate</code>,   <code>routerCanActivate(){}</code>, <code>canActivate(){}</code>. I'm stuck.  </p>
  
  <p>What changes are needed for <strong>CanActivate</strong>  to work in current RC3?</p>
  
  <pre><code>import {CanActivate} from 'angular2/router';
  import {tokenNotExpired, JwtHelper} from 'angular2-jwt'; 
  ...    
  @CanActivate (()=&gt;tokenNotExpired())
  export class NavbarComponent{
  ...
  }
  </code></pre>