diff options
Diffstat (limited to 'src/ng/rootScope.js')
| -rw-r--r-- | src/ng/rootScope.js | 78 | 
1 files changed, 33 insertions, 45 deletions
| diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index c90d28a6..d5be52b0 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -27,17 +27,16 @@  /** - * @ngdoc object - * @name ng.$rootScopeProvider + * @ngdoc provider + * @name $rootScopeProvider   * @description   *   * Provider for the $rootScope service.   */  /** - * @ngdoc function - * @name ng.$rootScopeProvider#digestTtl - * @methodOf ng.$rootScopeProvider + * @ngdoc method + * @name $rootScopeProvider#digestTtl   * @description   *   * Sets the number of `$digest` iterations the scope should attempt to execute before giving up and @@ -58,8 +57,8 @@  /** - * @ngdoc object - * @name ng.$rootScope + * @ngdoc service + * @name $rootScope   * @description   *   * Every application has a single root {@link ng.$rootScope.Scope scope}. @@ -84,12 +83,12 @@ function $RootScopeProvider(){        function( $injector,   $exceptionHandler,   $parse,   $browser) {      /** -     * @ngdoc function -     * @name ng.$rootScope.Scope +     * @ngdoc type +     * @name $rootScope.Scope       *       * @description       * A root scope can be retrieved using the {@link ng.$rootScope $rootScope} key from the -     * {@link AUTO.$injector $injector}. Child scopes are created using the +     * {@link auto.$injector $injector}. Child scopes are created using the       * {@link ng.$rootScope.Scope#methods_$new $new()} method. (Most scopes are created automatically when       * compiled HTML template is executed.)       * @@ -139,7 +138,7 @@ function $RootScopeProvider(){      /**       * @ngdoc property -     * @name ng.$rootScope.Scope#$id +     * @name $rootScope.Scope#$id       * @propertyOf ng.$rootScope.Scope       * @returns {number} Unique scope ID (monotonically increasing alphanumeric sequence) useful for       *   debugging. @@ -149,9 +148,8 @@ function $RootScopeProvider(){      Scope.prototype = {        constructor: Scope,        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$new -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$new         * @function         *         * @description @@ -207,9 +205,8 @@ function $RootScopeProvider(){        },        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$watch -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$watch         * @function         *         * @description @@ -359,9 +356,8 @@ function $RootScopeProvider(){        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$watchCollection -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$watchCollection         * @function         *         * @description @@ -499,9 +495,8 @@ function $RootScopeProvider(){        },        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$digest -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$digest         * @function         *         * @description @@ -656,7 +651,7 @@ function $RootScopeProvider(){        /**         * @ngdoc event -       * @name ng.$rootScope.Scope#$destroy +       * @name $rootScope.Scope#$destroy         * @eventOf ng.$rootScope.Scope         * @eventType broadcast on scope being destroyed         * @@ -668,9 +663,8 @@ function $RootScopeProvider(){         */        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$destroy -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$destroy         * @function         *         * @description @@ -713,9 +707,8 @@ function $RootScopeProvider(){        },        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$eval -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$eval         * @function         *         * @description @@ -746,9 +739,8 @@ function $RootScopeProvider(){        },        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$evalAsync -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$evalAsync         * @function         *         * @description @@ -794,9 +786,8 @@ function $RootScopeProvider(){        },        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$apply -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$apply         * @function         *         * @description @@ -857,9 +848,8 @@ function $RootScopeProvider(){        },        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$on -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$on         * @function         *         * @description @@ -907,9 +897,8 @@ function $RootScopeProvider(){        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$emit -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$emit         * @function         *         * @description @@ -976,9 +965,8 @@ function $RootScopeProvider(){        /** -       * @ngdoc function -       * @name ng.$rootScope.Scope#$broadcast -       * @methodOf ng.$rootScope.Scope +       * @ngdoc method +       * @name $rootScope.Scope#$broadcast         * @function         *         * @description | 
