Skip to content

Commit

Permalink
Controllers instead of ngInit
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev committed Oct 10, 2013
1 parent 53bb999 commit 4c4c1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ This will make your testing easier and in some cases prevent unexpected behaviou
* Use an AngularJS pre-minifier (like [ngmin](https://github.com/btford/ngmin) or [ng-annotate](https://github.com/olov/ng-annotate)) for preventing problems after minification.
* Don't use globals. Resolve all dependencies using Dependency Injection.
* Do not pollute your `$scope`. Only add functions and variables that are being used in the templates.
* Use controllers instead of `ngInit`.

#Modules

Expand Down

0 comments on commit 4c4c1b1

Please sign in to comment.