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

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. #11888

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/guide/controller.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down