diff options
| author | jamesBrennan | 2013-05-15 12:10:49 -0600 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-05-15 21:32:15 +0100 |
| commit | 99cd86a96ee2e076f96f5f5d26646b8f7b782a5e (patch) | |
| tree | e851eff9393c33684f03e5a9997fad75fc4ea748 /docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc | |
| parent | d551d72924f7c43a043e4760ff05d7389e310f99 (diff) | |
| download | angular.js-99cd86a96ee2e076f96f5f5d26646b8f7b782a5e.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
Diffstat (limited to 'docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc')
| -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}. |
