Yes, use:

angular.element("body").scope().$apply()


El viernes, 12 de diciembre de 2014, 14:48:31 (UTC-6), Eric Eslinger 
escribió:
>
> Hey List,
>
> I'm trying to call $scope.$apply (because I am getting data into my model 
> outside the angular lifecycle) in a controller that is using the newer 
> 'controller as' syntax. Should I just inject $scope and call $scope.$apply 
> as usual? 
>
> e
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to