How to setup a Demo App
- Open or goto the directory you wanna initiate an Angular app
- Install the latest angular command line tool
$ npm i -g @angular/cli@latest
- ng new to create the demo app’s primitive code and code structures
$ ng new <Angular_App_Name>
- Goto the directory of <Angular_App_Name>
$ cd <Angular_App_Name>
- ng serve to start the development server for the angular app
$ ng serve