You are right, isolated scopes have a $$phase property, but this
property is never used anyway.
If you look at $apply(), beginPhase() and clearPhase() you will see that
$rootScope.$$phase is always used for a digest cycle.
This makes sense because in every digest cycle you have to check ALL
properties for possible modifications : even isolated scopes can have
properties that are bound to parent properties via '=prop'.
On 03/17/2014 12:45 PM, Zizon Qiu wrote:
Isolate scopes DO have a $$phase as property while not-isolate scope don`t.
see
https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js
line:178 and line:125(Scope defination).
$rootScope is initialized in line 1037 with no other post-process, if I
not missing something.
--
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.