routerlink pass query params code example Example: routerlink query params <a [routerLink]="['../']" [queryParams]="{prop: 'xxx'}">Somewhere</a>