this.router.navigate query params code example
Example: how to pass queryparams in router.navigate
this.router.navigate(['my-route', 37], { queryParams: { username: "jimmy"}});
this.router.navigate(['my-route', 37], { queryParams: { username: "jimmy"}});