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 installYou can the serve your demo project using:
ng serveFinally, visit http://127.0.0.1:4200 with your browser.