- 克隆项目骨架
$ git clone --depth=1 https://github.com/Micua/angular-boilerplate.git moviecat
$ cd moviecat
- 安装项目依赖
$ bower install bootstrap --save
.editorconfig -- 统一不同开发者的不同开发工具的不同开发配置
在Sublime中使用需要安装一个EditorConfig的插件
- 为NG做一个项目骨架的目的是为了快速开始一个新的项目
- angular-seed
npm 在 package.json中的script节点中可以定义脚本任务,
API的概念: Application Programxxx Interface 应用程序编程接口
有哪些常见的API
WebAPI 通过WEB方式提供结构叫做 WEBAPI
Math.random() -- api?
所有有输入有输出的事物都可以是API 都是函数
测试WebAPI的工具: POSTMAN