routing example angular 8
Example 1: generate module with routing in angular
ng g m [ModuleName] --routing
Example 2: this.router.navigate
<a routerLink="/red-pill/neo">Go!</a>
ng g m [ModuleName] --routing
<a routerLink="/red-pill/neo">Go!</a>