What is the difference between $watch, $digest and $apply?
Answer Posted / satish kasturi
$digest is to run the watch cycle from non-angular variables.
$watch for running the watch cycle while modifying the variables in the current angularjs component
$apply is to run the watch cycle for all the angulajrs components
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How will you implement internationalization in angularjs?
Explain the procss about angular project bootstrap?
What is meant by lazy loading?
Is react js in demand?
Explain the functionality angular.copy() method?
Why you use browsermodule, commonmodule, formsmodule, routermodule, and httpclientmodule?
Describe mvc in reference to angular.
What is binding in java?
Explain the ng-model directive in angularjs.
Explain ngfor and nglf? 20. What is hoisting in js?
Whats is a filter?
Explain AngularJS scope life-cycle?
How does lazy loading work in angular 6?
What do you understand by dirty checking in angular?
Explain webpack?