angular router with params testing 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]);