If I am calling scope.$digest I expect the $$phase to be set as "$digest" only for that scope and its children.
In my case, I have two scopes: scopeA < $rootScope scopeB < $rootScope scopeA and scopeB are not related, so I can call separately scopeA.$digest() and scopeB.$digest(). It occurred that accidentally only in one case I need to call scopeA.$digest() as a consequence of something happening in a $watch of scopeB: beginPhase doesn't let me do it because, even if I am calling $digest only on scopeB, the phase is set on the whole $rootScope. I know that I am not using $digest in the conventional way, but I find it so nice and logical to call $digest only for the scopes who need it, rather than calling compulsively $rootScope.$digest(). -- 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.
