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

Commit fd797cd

Browse files
ts-webpetebacondarwin
authored andcommitted
docs(input): fix spelling error and reword for clarity
1 parent ed1dbf2 commit fd797cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ng/directive/input.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -824,13 +824,13 @@ var VALID_CLASS = 'ng-valid',
824824
* @description
825825
*
826826
* `NgModelController` provides API for the `ng-model` directive. The controller contains
827-
* services for data-binding, validation, CSS update, value formatting and parsing. It
828-
* specifically does not contain any logic which deals with DOM rendering or listening to
829-
* DOM events. The `NgModelController` is meant to be extended by other directives where, the
830-
* directive provides DOM manipulation and the `NgModelController` provides the data-binding.
827+
* services for data-binding, validation, CSS updates, and value formatting and parsing. It
828+
* purposefully does not contain any logic which deals with DOM rendering or listening to
829+
* DOM events. Such DOM related logic should be provided by other directives which make use of
830+
* `NgModelController` for data-binding.
831831
* Note that you cannot use `NgModelController` in a directive with an isolated scope,
832832
* as, in that case, the `ng-model` value gets put into the isolated scope and does not get
833-
* propogated to the parent scope.
833+
* propagated to the parent scope.
834834
*
835835
*
836836
* This example shows how to use `NgModelController` with a custom control to achieve

0 commit comments

Comments
 (0)