I don't know of any other option to get the view updates.  The only choices to 
make would be to apply at the current scope vs the root level or moving the 
apply into a service.  The latter would require the rootscope (I know you know 
that already:)).

Are you doubting the behavior using the new syntax?

Sent from my iPhone

> On Dec 12, 2014, at 3:55 PM, Kirru <[email protected]> wrote:
> 
> 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.

-- 
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