passing params in angular router code example
Example 1: router params angular
// Navigate and send Params
this.router.navigate(['/users/edit/', user.id]);
Example 2: angular pass params
this._Activatedroute.paramMap.subscribe(params => {
this.id = params.get('id');
});