angularjs的启动
http://www.cnblogs.com/lvdabao/p/angularjs.html http://grahamle.github.io/2013/11/ng%E6%A6%82%E8%A7%88/
结构特别清楚
Define and configure all modules in app.js:
angular.module('yourAppName', ['yourAppDep']);
angular.module('yourAppDep');
Define controllers, services, etc. on modules like this:
angular.module('yourAppDep').controller('MyCtrl', function () {
// ...
});
http://briantford.com/blog/huuuuuge-angular-apps.html
打包工具:预处理依赖关系 https://github.com/olov/ng-annotate
连接打包
https://medium.com/@dickeyxxx/best-practices-for-building-angular-js-apps-266c1a4a6917
http://www.thoughtworks.com/insights/blog/good-practices-build-your-angularjs-application
打包例程
https://github.com/balderdashy/sails-docs
https://github.com/angular/angular-seed
模块打包到npm,用到了UMD https://medium.com/@kentcdodds/how-to-distribute-your-angularjs-module-e04d4dd58ddc