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?

example here

use ng-click instead of ng-change in my-customer-iso.html

refer this


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -