aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootElement.js
blob: 9385050e6e2e6ee655d003a6a5d6e14687cefbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';

/**
 * @ngdoc overview
 * @name ng.$rootElement
 *
 * @description
 * The root element of Angular application. This is either the element where {@link
 * ng.directive:ngApp ngApp} was declared or the element passed into
 * {@link angular.bootstrap}. The element represent the root element of application. It is also the
 * location where the applications {@link AUTO.$injector $injector} service gets
 * published, it can be retrieved using `$rootElement.injector()`.
 */


// the implementation is in angular.bootstrap