router navigate with 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"}});