For example I am on route /cars?type=coupe and I want to navigate to the same endpoint with additional query params (but keeping existing one). I am trying some
/cars?type=coupe
This can be handled using relativeTo and queryParamsHandling properties.
relativeTo
queryParamsHandling
Try like this:
constructor(private _route: ActivatedRoute, private _router: Router) this._router.navigate( [], { relativeTo: this._route, queryParams: { model: 'renault' }, queryParamsHandling: 'merge' });