Top "Angular-router-guards" questions

Angular 4 Multiple Guards - Execution Sequence

I have 2 guards, AuthGuard and AccessGuard in the application. AuthGuard protects all the pages as the name suggests and stores …

angular angular-routing angular-router-guards
How to elegantly get full url from the ActivatedRouteSnapshot?

In some of my Angular route guards, I want to set up the "next" path, to redirect to after successful …

angular angular-routing angular-router-guards
Angular 6: simple confirmation on page leaving

I need to make a simple confirm window and I saw a lot of examples of how to do it …

angular typescript onbeforeunload angular-router-guards
Wait for http inside Guard on Angular 5

I'm using a Guard on an Angular application to resolve initial critical data. On the version 4 of Angular I was …

angular rxjs angular-router angular-httpclient angular-router-guards
Angular 4 load data before initialize the application

I'm trying to load some data before my application starts. The reason why I need to do it, is because …

angular angular-router angular-router-guards
Angular redirect to dashboard if user is logged in

I am using Angular v6, I have implement redirect from dashboard to login page if user is not logged in. …

angular angular-router-guards
Auth guard not working in angular 5

Here is my static login service login(email: string, password: string) { debugger; const user = { username: email, password: password, }; if (email === "…

angular authentication angular-router-guards
Router infinite loop with second canActivate guard on lazy-loaded modules

I have an angular 4.3.6 application with lazy-loaded modules. Here is a partial root router: const routes: Routes = [ { path: '', redirectTo: …

angular lazy-loading angular-router angular-router-guards