From 6711f3df3b6fffe579c191dea84b6b6c529c5b8b Mon Sep 17 00:00:00 2001 From: niteshthakur Date: Sun, 17 May 2015 23:22:44 +0530 Subject: [PATCH] docs(guide/Controllers): I think that it is better to say that a controller is defined using a JavaScript constructor function as we define a class through a constructor. A controller is a instantiated object created out of the constructor function. So, I feel we should not call a Controller a constructor function. --- docs/content/guide/controller.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/controller.ngdoc b/docs/content/guide/controller.ngdoc index 2b641d84917a..477383736e07 100644 --- a/docs/content/guide/controller.ngdoc +++ b/docs/content/guide/controller.ngdoc @@ -5,7 +5,7 @@ # Understanding Controllers -In Angular, a Controller is a JavaScript **constructor function** that is used to augment the +In Angular, a Controller is defined using a JavaScript **constructor function** that is used to augment the {@link scope Angular Scope}. When a Controller is attached to the DOM via the {@link ng.directive:ngController ng-controller}