$ alcance. $ Aplicar

$scope.$apply(function () {

    // Add $scope.myVariableHere = value

});
Distinct Dragonfly