aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootElement.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/rootElement.js')
-rw-r--r--src/ng/rootElement.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ng/rootElement.js b/src/ng/rootElement.js
index e69de29b..7b72c2de 100644
--- a/src/ng/rootElement.js
+++ b/src/ng/rootElement.js
@@ -0,0 +1,13 @@
+'use strict';
+
+/**
+ * @ngdoc overview
+ * @name angular.module.ng.$rootElement
+ *
+ * @description
+ * The root element of Angular application. This is either the element where {@link
+ * angular.module.ng.$compileProvider.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 angular.module.AUTO.$injector $injector} service gets
+ * published, it can be retrieved using `$rootElement.injector()`.
+ */