Getting Started

Make sure you have NodejsNPM and installedangular-cli on your computer.

Download node

Open terminal and run npm install -g @angular/cli

Angular CLI Doc:

Serve and build

Use terminal and navigate to project root.

Then run npm install

Development server

Run forng serve a dev server. Navigate to http://localhost:4200. The app will automatically reload if you change any of the source files.

Code Scaffolding

Run tong generate component componentName generate a new component. You can also useng generate directive/pipe/service/class/module


Run tong build build the project. The build artifacts will be stored in the dist/ directory. Use the flag-prod for a production build.