* @ngdoc type * @name $rootScope.Scope * * @description * A root scope can be retrieved using the ng.$rootScope $rootScope key from the * auto.$injector $injector. Child scopes are created using the * ng.$rootScope.Scope#$new $new() method. (Most
()
| 11945 | * |
| 11946 | */ |
| 11947 | function Scope() { |
| 11948 | this.$id = nextUid(); |
| 11949 | this.$$phase = this.$parent = this.$$watchers = |
| 11950 | this.$$nextSibling = this.$$prevSibling = |
| 11951 | this.$$childHead = this.$$childTail = null; |
| 11952 | this['this'] = this.$root = this; |
| 11953 | this.$$destroyed = false; |
| 11954 | this.$$asyncQueue = []; |
| 11955 | this.$$postDigestQueue = []; |
| 11956 | this.$$listeners = {}; |
| 11957 | this.$$listenerCount = {}; |
| 11958 | this.$$isolateBindings = {}; |
| 11959 | } |
| 11960 | |
| 11961 | /** |
| 11962 | * @ngdoc property |