This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -824,13 +824,13 @@ var VALID_CLASS = 'ng-valid',
824
824
* @description
825
825
*
826
826
* `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.
831
831
* Note that you cannot use `NgModelController` in a directive with an isolated scope,
832
832
* 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.
834
834
*
835
835
*
836
836
* This example shows how to use `NgModelController` with a custom control to achieve
You can’t perform that action at this time.
0 commit comments