Top "Angular-router" questions

For the Angular Router service (@angular/router)

Send data through routing paths in Angular

Is there anyway to send data as parameter with router.navigate? I mean, something like this example, as you can …

angular routing angular-router
Passive Link in Angular 2 - <a href=""> equivalent

In Angular 1.x I can do the following to create a link which does basically nothing: <a href="">…

angular routing angular2-routing angular-router
Angular 5 Scroll to top on every Route click

I am using angular 5. I have a dashboard where I have few sections with small content and few sections with …

javascript angular typescript scrolltop angular-router
Angular: How to update queryParams without changing route

I am trying to update (add, remove) queryParams from a component. In angularJS, it used to be possible thanks to : $…

angular query-parameters angular-router
In Angular, What is 'pathmatch: full' and what effect does it have?

In here it is use pathmatch as full and when i delete this pathmatch it doesn't even load the app …

angular typescript angular-router
How do I navigate to a parent route from a child route?

My problem is quite classic. I have a private part of an application which is behind a login form. When …

angular angular-routing angular-router
Best method to set different layout for different pages in angular 4

I am new to angular 4. What I'm trying to achieve is to set different layout headers and footers for different …

angular angular-routing angular-template angular-router
Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?

I am using Angular 7 and facing an issue => after login the API GET calls successfully and the component receiving …

angular angular-router zonejs
router.navigate with query params Angular 5

I'm having an issue with routing to a route with query params I have a function like so goToLink(link) { …

javascript angular typescript angular-router