AngularJS Foundations

$apply (略)

$apply() is used to notify that something has happened outside of the AngularJS domain

$apply forces a $digest cycle