$apply and $digest are both methods on AngularJS scopes that allow you to manually trigger the updates to bound properties on your scopes.
$apply
$digest