2017-11-21 Route
npm install
npm start
branch | 备注 |
---|---|
test1 | 路由 |
test2 | 依赖注入 |
test2_1 | 依赖注入demo |
test2_2 | 使用工厂和值声明提供器 |
test2_3 | 注入器层级关系 |
test2_4 | 使用依赖注入重构 |
test3 | 绑定、事件 |
test3_1 | DOM属性绑定 |
test3_2 | HTML属性绑定 |
test3_3 | 双向绑定 |
test3_4 | 响应式编程 |
test3_5 | 管道 |
test3_6 | 根据响应式编程和管道实战 |
test6 | 组件间通讯 |
test6_1 | 输入属性 |
test6_2 | 输出属性 |
test6_3 | 中间人模式 |
test6_4 | 组件生命周期钩子概述 |
test6_5 | OnChanges钩子 |
test6_6 | 变更检测和DoCheck钩子 |
test6_7 | view钩子 |
test6_8 | ngContent指令 |
test6_9 | 最后的钩子 |
test6_10 | 本章实践 |
test6_11 | 本章小结 |
test7 | 表单 |
test7_1 | 表单内容处理介绍 |
test7_2 | 表单简介 |
test7_3 | 模版式表单 |
test7_4 | 响应式表单 |
test7_5 | 响应式表单重构 |
test7_6 | 表单校验 |
test7_7 | 状态字段 |
test7_8 | 模版式表单校验 |
test7_9 | 本章实践 |
test7_10 | 本章小结 |
test8 | 与服务器通讯 |
test8_1 | 内容介绍 |
test8_2 | web服务器 |
test8_3 | http通讯 |
test8_4 | web socket通讯 |
test8_5 | 商品搜索功能 |
test8_6 | 商品关注功能(websocket实战) |
test8_7 | 小结 |
test9 | 构建与部署 |
test9_1 | 构建与部署 |
test9_2 | 部署 |
test9_3 | 多环境 |
test10 | 课程总结 |
This project was generated with Angular CLI version 1.4.4.
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 ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
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 ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.