This project was generated with Angular CLI version 1.0.0.
To install dependencies:
npm install
When running ng
commands, always use npm run ng whatever
so that the local version of the compiler and typescript are used.
Run npm run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run npm run ng generate component component-name
to generate a new component. You can also use npm run ng generate directive/pipe/service/class/module
.
Run npm run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run npm run ng test
to execute the unit tests via Karma.
Run npm run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via npm run ng serve
.
To get more help on the Angular CLI use npm run ng help
or go check out the Angular CLI README.