File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -843,6 +843,10 @@ var VALID_CLASS = 'ng-valid',
843
843
* specifically does not contain any logic which deals with DOM rendering or listening to
844
844
* DOM events. The `NgModelController` is meant to be extended by other directives where, the
845
845
* directive provides DOM manipulation and the `NgModelController` provides the data-binding.
846
+ * Note that you cannot use `NgModelController` in a directive with an isolated scope,
847
+ * as, in that case, the `ng-model` value gets put into the isolated scope and does not get
848
+ * propogated to the parent scope.
849
+ *
846
850
*
847
851
* This example shows how to use `NgModelController` with a custom control to achieve
848
852
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
You can’t perform that action at this time.
0 commit comments