i have problem with canActivate angular2.0.0-rc.3.
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean>{
console.log('canActivate with AclService');
// return true;
return Observable.create((observer:Subject<boolean>) => { observer.next(true); });
}
it's not work with Observable response but work with simple boolean response.
how can i fix this problem ??