Update ngModel.js documentation#12498
Conversation
ngModel documentation says that $setViewValue doesn't trigger a '$digest' but its does. it triggers $apply.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
CLAs look good, thanks! |
|
Hey @akhlesh thanks for the PR. The change is not completely correct, though. First, an $apply triggers a $digest, so this is basically correct. |
|
@Narretz so $setviewValue always calls $digest at some point of time. |
ngModel documentation says that $setViewValue doesn't trigger a '$digest' but its does. it triggers $apply.