I am using ngx-translate to translate my components. I am able to change website language if the user clicks on language link inside the same component. In an
i have a problem with tab title setting. Before is was always the same title which is set in index.html Now i would like to have another title in some component
I have a problem with second router outlet when it's created in lazy-loaded module. I started with this example where auxiliary routes https://stackblitz.com/ed
Solution found - since the solution is much shoerter than the problem, I add it here: The problem was not the guard (even though I optimized the guard by using
can anyone suggest best way to disable authguard (applied on parent level) on a single child page. ROUTES:Routes = [ { path: '', component:
For various purposes, it may be advantageous to attach a listener to the Router which is called every time the route changes. This could be used to trigger an A
I'm trying to resolve data before navigating to children routes as i have to use that data in children guard. The issue is parent resolver, resolves data after
Using Angular 13 I have a side menu which I build like this <mat-nav-list> <a mat-list-item *ngFor="let page of pages" [routerLink]="page.link" route
I have these two guards @Injectable({ providedIn: 'root' }) export class DesktopGuard implements CanActivate { constructor( private router: Router, p
I want to use Angular Material tabs https://material.angular.io/components/tabs with a router navigation in the tabs. I tried to use <nav mat-tab-nav-bar>