Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit dbb42b5

Browse files
niteshthakurpetebacondarwin
authored andcommitted
docs(guide/controller): clarify that controllers are defined **by** a constructor function
A controller is a instantiated object created **from** a constructor function. It was not accurate to describe a Controller **as** a constructor function. Closes #11888
1 parent f012374 commit dbb42b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/controller.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Understanding Controllers
77

8-
In Angular, a Controller is a JavaScript **constructor function** that is used to augment the
8+
In Angular, a Controller is defined by a JavaScript **constructor function** that is used to augment the
99
{@link scope Angular Scope}.
1010

1111
When a Controller is attached to the DOM via the {@link ng.directive:ngController ng-controller}

0 commit comments

Comments
 (0)