diff options
| author | jamesBrennan | 2013-05-15 12:10:49 -0600 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-05-15 21:33:30 +0100 |
| commit | 73aaca05f81aabfc7453ec095a03838d13573d25 (patch) | |
| tree | 4df4a09b982bbe9f2dcec648ee049ada70dcc489 | |
| parent | a993112098e7767db3a2af2f86d8c94d2f675e69 (diff) | |
| download | angular.js-73aaca05f81aabfc7453ec095a03838d13573d25.tar.bz2 | |
docs(guide:understanding_controllers): remove outdated info
Remove the outdated info in this document related to this API change
https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js#L166
| -rw-r--r-- | docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc b/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc index cb4acef7..47d59427 100644 --- a/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc +++ b/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc @@ -3,10 +3,7 @@ @description In Angular, a controller is a JavaScript function(type/class) that is used to augment instances of -angular {@link scope Scope}, excluding the root scope. When you or Angular create a new -child scope object via the {@link api/ng.$rootScope.Scope#$new scope.$new} API , there is an -option to pass in a controller as a method argument. This will tell Angular to associate the -controller with the new scope and to augment its behavior. +angular {@link scope Scope}, excluding the root scope. Use controllers to: @@ -82,8 +79,7 @@ instances). # Associating Controllers with Angular Scope Objects -You can associate controllers with scope objects explicitly via the {@link api/ng.$rootScope.Scope#$new -scope.$new} api or implicitly via the {@link api/ng.directive:ngController ngController +You can associate controllers with scope objects implicitly via the {@link api/ng.directive:ngController ngController directive} or {@link api/ng.$route $route service}. |
