how to update angular route module code example
Example 1: generate module with routing in angular
ng g m [ModuleName] --routing
Example 2: router params angular
// Navigate and send Params
this.router.navigate(['/users/edit/', user.id]);
ng g m [ModuleName] --routing
// Navigate and send Params
this.router.navigate(['/users/edit/', user.id]);