Answers for "how to route components to open other components in angular"

6

angular router navigate

// Here’s a basic example using the navigate method:

goPlaces() {
  this.router.navigate(['/', 'page-name']);
}

/*
I hope it will help you.
Namaste
*/
Posted by: Guest on May-20-2020
0

this.router.navigate

<a [routerLink]="['/', 'red-pill', {x: 'white-rabbit'}, 'neo']">
  Param!
</a>
Posted by: Guest on November-02-2020

Code answers related to "how to route components to open other components in angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language