Google's AngularJS Style Guide
does not often use JavaScript types. Google follows a more rigorous Javascript style to support JSCompiler optimizations and large code bases - see the javascript-style mailing list. This is not an Angular-specific should reference other modules using the “name” property • Use the provided Angular externs file • JSCompiler Flags • Controllers and Scopes • Directives • Services 2 Angular Style Rules 1 • Reserve $ for example can be found on github here. JSCompiler Flags Reminder: According to the JS style guide, customer facing code must be compiled. Recommended: Use the JSCompiler (the closure compiler that works with0 码力 | 8 页 | 44.39 KB | 1 年前3
共 1 条
- 1