router.navigate in angular 10 code example
Example 1: generate module with routing in angular
ng g m [ModuleName] --routing
Example 2: ng router link
<a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" fragment="education">
link to user component
</a>