router navigater code example
Example 1: this.router.navigate
<a routerLink="/red-pill/neo">Go!</a>
Example 2: this.router.navigate
<a [routerLink]="['/', 'red-pill', {x: 'white-rabbit'}, 'neo']">
Param!
</a>
<a routerLink="/red-pill/neo">Go!</a>
<a [routerLink]="['/', 'red-pill', {x: 'white-rabbit'}, 'neo']">
Param!
</a>