Angular Digest Cycle
$digest
This is the “heartbeat” of an AngularJS application. $apply
method processes all the watchExpressions
nothing but $watchers
for the current scope and its children. Then it checks for the current scope variables has been updated or not, if updated then call $digest
and then scope binding gets updated.