yes.. you can call it by just injecting $scope. Thanks K
On Friday, 12 December 2014 15:48:31 UTC-5, Eric Eslinger wrote: > > 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.
