angularjs - ng-change in directive is updating the controller's model later then callback method is called -
i have ng-model
/ ng-change
inside directives. 'mapped' controllers scope through attributes. when ng-change
executed, controller's scope not updated yet. kind of lags 1 step time.
why happen , recommended way make in sync?so calling 'change' directive should call 'do' on controller , value value of scope.params.v should date?
use ng-click
instead of ng-change
in my-customer-iso.html
refer this
Comments
Post a Comment