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 @@ -843,13 +843,13 @@ var VALID_CLASS = 'ng-valid',
843
843
* @description
844
844
*
845
845
* `NgModelController` provides API for the `ng-model` directive. The controller contains
846
- * services for data-binding, validation, CSS update, value formatting and parsing. It
847
- * specifically does not contain any logic which deals with DOM rendering or listening to
848
- * DOM events. The `NgModelController` is meant to be extended by other directives where, the
849
- * directive provides DOM manipulation and the `NgModelController` provides the data-binding.
846
+ * services for data-binding, validation, CSS updates, and value formatting and parsing. It
847
+ * purposefully does not contain any logic which deals with DOM rendering or listening to
848
+ * DOM events. Such DOM related logic should be provided by other directives which make use of
849
+ * `NgModelController` for data-binding.
850
850
* Note that you cannot use `NgModelController` in a directive with an isolated scope,
851
851
* as, in that case, the `ng-model` value gets put into the isolated scope and does not get
852
- * propogated to the parent scope.
852
+ * propagated to the parent scope.
853
853
*
854
854
*
855
855
* 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