Answer the question
In order to leave comments, you need to log in
How to properly use ngModel in your directives?
Hello.
I made a directive, it is called something like this
, it declares a scope { ngModel: '=' }
in the controller of the directive I assign values to $ scope.ngModel , but they do not come immediately, but about once every 2-3 seconds.
How to properly use ngModel in your directives? <mydirective ng-model="value"></mydirective>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question