Angular2guards Installation : This project used node version 6.9.2 Install angular-cli : npm install -g angular-cli Clone project and goto project directory : 1) npm install 2) bower install To run project : ng serve Navigate to http://localhost:4200