* @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
()
| 11986 | * |
| 11987 | */ |
| 11988 | function Scope() { |
| 11989 | this.$id = nextUid(); |
| 11990 | this.$$phase = this.$parent = this.$$watchers = |
| 11991 | this.$$nextSibling = this.$$prevSibling = |
| 11992 | this.$$childHead = this.$$childTail = null; |
| 11993 | this['this'] = this.$root = this; |
| 11994 | this.$$destroyed = false; |
| 11995 | this.$$asyncQueue = []; |
| 11996 | this.$$postDigestQueue = []; |
| 11997 | this.$$listeners = {}; |
| 11998 | this.$$listenerCount = {}; |
| 11999 | this.$$isolateBindings = {}; |
| 12000 | } |
| 12001 | |
| 12002 | /** |
| 12003 | * @ngdoc property |