From dc238ce123d6f4357878d0e6e58c8e2343337e26 Mon Sep 17 00:00:00 2001 From: Robbie Ferrero Date: Thu, 30 May 2013 23:42:57 -0600 Subject: docs(Angular.js): clarify ngApp usage --- src/Angular.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Angular.js') diff --git a/src/Angular.js b/src/Angular.js index 22fb005e..952e7a1d 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -914,9 +914,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 -- cgit v1.2.3