diff --git a/angularjs-google-style.html b/angularjs-google-style.html index f5c728e2c..92b775f60 100644 --- a/angularjs-google-style.html +++ b/angularjs-google-style.html @@ -21,14 +21,14 @@

An AngularJS Style Guide for Closure Users at Google

(or not apply) these recommendations, as relevant to their own use cases.

This document describes style for AngularJS apps in google3. This guide - supplements and extends the + supplements and extends the Google JavaScript Style Guide.

Style Note: Examples on the AngularJS external webpage, and many external apps, are written in a style that freely uses closures, favors functional inheritance, and does not often use + href="https://google.github.io/styleguide/javascriptguide.xml?showone=JavaScript_Types#JavaScript_Types"> 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 issue, and is not discussed further in this style guide. @@ -152,7 +152,7 @@

JSCompiler Flags

Controllers and Scopes

Controllers are classes. Methods should be defined on MyCtrl.prototype. - See + See the JavaScript style guide

Google Angular applications should use the 'controller as' style to export the controller