angular passing 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]);