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