aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorRobbie Ferrero2013-05-30 23:42:57 -0600
committerPete Bacon Darwin2013-06-04 22:01:26 +0100
commitfdb66aa23722d0a758457ae57cfe700a88329093 (patch)
treeb24cb5fa8986f3c59736620cdb8e2d7593314963 /src/Angular.js
parente0ca5fdd51d1198e667ed791709f788d0eaa15b3 (diff)
downloadangular.js-fdb66aa23722d0a758457ae57cfe700a88329093.tar.bz2
docs(Angular.js): clarify ngApp usage
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 1c1a0255..cbfd1693 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -888,9 +888,13 @@ function encodeUriQuery(val, pctEncodeSpaces) {
* @description
*
* Use this directive to auto-bootstrap an application. Only
- * one directive can be used per HTML document. The directive
+ * one ngApp directive can be used per HTML document. The directive
* designates the root of the application and is typically placed
* at the root of the page.
+ *
+ * The first ngApp found in the document will be auto-bootstrapped. To use multiple applications in an
+ * HTML document you must manually bootstrap them using {@link angular.bootstrap}.
+ * Applications cannot be nested.
*
* In the example below if the `ngApp` directive would not be placed
* on the `html` element then the document would not be compiled