Angular 4: Simple Routing

All code is on github https://github.com/shanegibney/angular-routing A demo is available on gh-pages https://shanegibney.github.io/angular-routing/ Start a new project using angular-cli, $ ng new angularRouting Move into the project root directory $ cd angularRouting Create app-routing.module.ts $ ng g module app-routing Set the app-routing.module.ts to add components and routes. Also note the changes to ngModule imports and…Read More