From 4c4c1b1da64a6f1fd50c91d5b6cd38db7aec2cb2 Mon Sep 17 00:00:00 2001 From: mgechev Date: Thu, 10 Oct 2013 21:40:40 +0300 Subject: [PATCH] Controllers instead of ngInit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a9ba692..ec8e644 100644 --- a/README.md +++ b/README.md @@ -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