switch version link on right of the page angular 8 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>