Understanding apply and digest in angularjs

added by JavaScript Kicks
4/16/2015 10:17:26 PM

1 Kicks, 426 Views

$apply() and $digest() are two core, and sometimes confusing, aspects of AngularJS. To understand how AngularJS works one needs to fully understand how $apply() and $digest() work. This article aims to explain what $apply() and $digest() really are, and how they can be useful in your day-to-day AngularJS programming.