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