src/ng/rootElement.js
'use strict';
/**
* @ngdoc service
* @name $rootElement
*
* @description
* The root element of AngularJS application. This is either the element where {@link
* ng.directive:ngApp ngApp} was declared or the element passed into
* {@link angular.bootstrap}. The element represents the root element of application. It is also the
* location where the application's {@link auto.$injector $injector} service gets
* published, and can be retrieved using `$rootElement.injector()`.
*/
// the implementation is in angular.bootstrap