angular 8 pass params to route code example
Example: router params angular
// Navigate and send Params
this.router.navigate(['/users/edit/', user.id]);
// Navigate and send Params
this.router.navigate(['/users/edit/', user.id]);