Angular 4|5 Router Demo created with the Angular CLI.
You can follow this demo project's accompanying tutorial: The Angular 4|5 Router: Component Routing.
You can simply clone this repo from the CLI:
git clone https://github.com/techiediaries/angular-router-demo/
Next, navigate inside the cloned folder then install the dependencies using:
cd angular-router-demo
npm install
You can the serve your demo project using:
ng serve
Finally, visit http://127.0.0.1:4200
with your browser.