mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-20 07:15:31 +08:00
docs($rootScope): document scope properties
This commit is contained in:
@@ -139,10 +139,26 @@ function $RootScopeProvider(){
|
||||
/**
|
||||
* @ngdoc property
|
||||
* @name $rootScope.Scope#$id
|
||||
* @returns {number} Unique scope ID (monotonically increasing alphanumeric sequence) useful for
|
||||
* debugging.
|
||||
*
|
||||
* @description
|
||||
* Unique scope ID (monotonically increasing) useful for debugging.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ngdoc property
|
||||
* @name $rootScope.Scope#$parent
|
||||
*
|
||||
* @description
|
||||
* Reference to the parent scope.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ngdoc property
|
||||
* @name $rootScope.Scope#$root
|
||||
*
|
||||
* @description
|
||||
* Reference to the root scope.
|
||||
*/
|
||||
|
||||
Scope.prototype = {
|
||||
constructor: Scope,
|
||||
|
||||
Reference in New Issue
Block a user