AngularJS Handbook: Easy Web App Development by Rick L

AngularJS Handbook: Easy Web App Development by Rick L

Author:Rick L.
Language: eng
Format: mobi, pdf
Published: 2016-03-21T22:00:00+00:00


$digest()

The function “$scope.$digest()” will iterate through the watches in the object “$scope” and the child “$scope” object. When the function” $digest()” has iterated through the watches, the value function for each watch will be called. If the value returned by our value function is found to be different to the value which it had returned last time that it was called, the listener function for the watch will then be called.

Whenever AngularJS finds it necessary, it just calls the “$digest()” function. Situations may be found in which the AngularJS does not call the “$digest()“ function. To solve this problem, just call the function “$scope.$digest().”



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.