2012-05-18 21:53:11 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ngdoc overview
|
2012-06-12 06:49:24 +00:00
|
|
|
* @name ng.$rootElement
|
2012-05-18 21:53:11 +00:00
|
|
|
*
|
|
|
|
|
* @description
|
|
|
|
|
* The root element of Angular application. This is either the element where {@link
|
2012-06-12 06:49:24 +00:00
|
|
|
* ng.directive:ngApp ngApp} was declared or the element passed into
|
2012-05-18 21:53:11 +00:00
|
|
|
* {@link angular.bootstrap}. The element represent the root element of application. It is also the
|
2012-06-12 06:49:24 +00:00
|
|
|
* location where the applications {@link AUTO.$injector $injector} service gets
|
2012-05-18 21:53:11 +00:00
|
|
|
* published, it can be retrieved using `$rootElement.injector()`.
|
|
|
|
|
*/
|
2012-05-18 22:26:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// the implementation is in angular.bootstrap
|