MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / Scope

Function Scope

code/songhop/www/lib/angular/angular.js:13553–13563  ·  view source on GitHub ↗

* @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

()

Source from the content-addressed store, hash-verified

13551 *
13552 */
13553 function Scope() {
13554 this.$id = nextUid();
13555 this.$$phase = this.$parent = this.$$watchers =
13556 this.$$nextSibling = this.$$prevSibling =
13557 this.$$childHead = this.$$childTail = null;
13558 this.$root = this;
13559 this.$$destroyed = false;
13560 this.$$listeners = {};
13561 this.$$listenerCount = {};
13562 this.$$isolateBindings = null;
13563 }
13564
13565 /**
13566 * @ngdoc property

Callers

nothing calls this directly

Calls 1

nextUidFunction · 0.70

Tested by

no test coverage detected