canActivate fiddle example using typescript?

52 views
Skip to first unread message

Ben McFerren

unread,
Oct 29, 2015, 6:14:39 PM10/29/15
to AngularJS
I am trying out angular 2 type script example: https://github.com/auth0/angular2-authentication-sample

Can you pls offer a fiddle on how to use canActivate lifecycle hook with one of the routes? very grateful for your help

Eric Martinez

unread,
Oct 29, 2015, 7:47:40 PM10/29/15
to AngularJS
Ben,

here's an issue about @CanActivate https://github.com/angular/angular/issues/4112 see specially @brandonroberts plnkr
Reply all
Reply to author
Forward
0 new messages