First, the installation environment
1. Install node.js
Download Path: https://nodejs.org/en/download/
Verify the command line:
2. Install ts, cli
ts: npm install -g typescript
Verify TS: tsc -v
cli: npm install -g @angular/cli
Verify cli: ng -v
二、Hello World
1. Create a new folder
2. Download the demo helloworld from the git git clone https://github.com/angular/quickstart Demo
3. VScode open the folder to folder Demo → src → app → app.component.ts, the export class AppComponent {name = 'Angular ';} converted to export class AppComponent {name = 'World ';}
4. Angular JS install all the necessary packages required application work. To open the current folder cmd, enter npm install
5. Run, NPM Start
Thanks: https://blog.csdn.net/Kangshuo2471781030/article/details/80293009
https://www.tutorialspoint.com/angular2/angular2_hello_world.htm