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

Commit 8714cab

Browse files
docs(guide/controller): add a line about controller as
1 parent cbab292 commit 8714cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/controller.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ In Angular, a Controller is defined by a JavaScript **constructor function** tha
1010

1111
When a Controller is attached to the DOM via the {@link ng.directive:ngController ng-controller}
1212
directive, Angular will instantiate a new Controller object, using the specified Controller's
13-
**constructor function**. A new **child scope** will created made available as an injectable parameter
14-
to the Controller's constructor function as `$scope`.
13+
**constructor function**. A new **child scope** will be created and made available as an injectable
14+
parameter to the Controller's constructor function as `$scope`.
1515

1616
If the controller has been attached using the `controller as` syntax then the controller instance will
1717
be assigned to a property on the new scope.

0 commit comments

Comments
 (0)