30 seconds of angular
Star
✨✨ New to Angular? Check out interactive Angular Codelab ✨✨

Optional parameters in the middle

Navigate with matrix params:

the router will navigate to /first;name=foo/details

<a [routerLink]="['/', 'first', {name: 'foo'}, 'details']">
  link with params
</a>

Links

Interactive demo