From 99cd86a96ee2e076f96f5f5d26646b8f7b782a5e Mon Sep 17 00:00:00 2001 From: jamesBrennan Date: Wed, 15 May 2013 12:10:49 -0600 Subject: 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 --- docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'docs/content') 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}. -- cgit v1.2.3