* @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
()
| 12160 | * |
| 12161 | */ |
| 12162 | function Scope() { |
| 12163 | this.$id = nextUid(); |
| 12164 | this.$$phase = this.$parent = this.$$watchers = |
| 12165 | this.$$nextSibling = this.$$prevSibling = |
| 12166 | this.$$childHead = this.$$childTail = null; |
| 12167 | this['this'] = this.$root = this; |
| 12168 | this.$$destroyed = false; |
| 12169 | this.$$asyncQueue = []; |
| 12170 | this.$$postDigestQueue = []; |
| 12171 | this.$$listeners = {}; |
| 12172 | this.$$listenerCount = {}; |
| 12173 | this.$$isolateBindings = {}; |
| 12174 | } |
| 12175 | |
| 12176 | /** |
| 12177 | * @ngdoc property |