Top "Canactivate" questions

Angular 2 canActivate with a promise hitting a remote service

Firstly, I am not sure that this is the best way to handle this problem, but what I am looking …

angular canactivate
Error: Uncaught (in promise): TypeError: guard is not a function

I am writing an Authguard in Angular 4 to prevent accessing routes without login. However, I am getting this error. Below …

angular typescript angular4-router canactivate
Uncaught (in promise): Response with status: 401 Unauthorized for URL

I am trying to implement authGuard for my Routers. but when I interfere with error codes, the app breaks actually. …

angular typescript observable router canactivate