1.创建新项目

ng new projectname

2. 启动angular项目

ng serve

3.编译代码,默认输出到根目录下的dist目录

ng build

4.执行单元测试

ng test

新手项目:Basic Angular app

https://angular.io/start

入门项目:Tour of Heroes

https://angular.io/tutorial