🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
本风格指南的目的是展示AngularJS应用的最佳实践和风格指南。 这些最佳实践来自于: 1. AngularJS项目源码 2. 本人阅读过的源码和文章 3. 本人的实践经历 > **说明**: 这只是风格指南的草案,主要目的是通过交流以消除分歧,进而被社区广泛采纳。 在本指南中不会包含基本的JavaScript开发指南。这些基本的指南可以在下面的列表中找到: 1. [Google's JavaScript style guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml) 2. [Mozilla's JavaScript style guide](https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style) 3. [GitHub's JavaScript style guide](https://github.com/styleguide/javascript) 4. [Douglas Crockford's JavaScript style guide](http://javascript.crockford.com/code.html) 对于AngularJS开发,推荐 [Google's JavaScript style guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml). 在AngularJS的Github wiki中有一个相似的章节 [ProLoser](https://github.com/ProLoser), you can check it [here](https://github.com/angular/angular.js/wiki).