Top "Angular-router" questions

For the Angular Router service (@angular/router)

Angular Material mat-drawer in full height flex, content overflow auto

Yesterday I faced a CSS issue which seems to be related to mat-drawer and Angulars router-outlet. I have got a …

css angular flexbox angular-material angular-router
Angular 4 animation for fade in and out a view

I just want the view to fade in and out on route change. I have setup the component correctly it …

angular typescript angular-router angular-animations
Angular2 router appends component instead of replacing it

I have an Angular2 application with one router outlet that displays different components depending on which link is clicked in …

angular angular-router
Angular 7 routerLink directive warning 'Navigation triggered outside Angular zone'

I am struggling with Angular framework to get my application run smoothly, but I can't resolve an issue with routing. …

angular angular-routing angular-router angular7 angular-routerlink
How to get id from the URL using snapshot or ActivatedRoute subscriber in Angular?

I am getting value using snapshot method but it is getting the value after "classes" in this case 20 but I …

angular angular-router angular-activatedroute
Angular 2 get parent activated route

I have a route with route children like this: { path: 'dashboard', children: [{ path: '', canActivate: [CanActivateAuthGuard], component: DashboardComponent }, { path: 'wage-types', …

angular typescript angular-router angular-activatedroute
Angular router: how to pass data to lazy loading module?

I have the following routing paths for a module of my Angular app: @NgModule({ imports: [ RouterModule.forChild([ { path: 'documents', data: { …

angular lazy-loading angular-routing angular-module angular-router
Cannot read property 'outlets' of null in Angular 4

I have Angular 4.3.6 project where a template snippet produces this error. Template block: <a [routerLink]="['/article',article?.id]"&…

angular angular-router
Navigation ID is not equal to the current router navigation id error

I'm using @ngrx/router-store in my Angularv5 app and I recently started running into a an error: Navigation ID X …

angular typescript ngrx angular-router ngrx-router-store
How to get all route params/data

Given a route config { path: '/root/:rootId', children: [{ path: '/child1/:child1Id', children: [{ path: '/child2/:child2Id …

angular angular-router