diff options
| author | Robbie Ferrero | 2013-05-30 23:42:57 -0600 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-04 22:01:11 +0100 | 
| commit | dc238ce123d6f4357878d0e6e58c8e2343337e26 (patch) | |
| tree | 7e57be69d11fec2bc349df20c820c63eb8d76aa4 | |
| parent | 0921bd0816f1a146703ba3573e0c1ed2d76823e3 (diff) | |
| download | angular.js-dc238ce123d6f4357878d0e6e58c8e2343337e26.tar.bz2 | |
docs(Angular.js): clarify ngApp usage
| -rw-r--r-- | src/Angular.js | 6 | 
1 files changed, 5 insertions, 1 deletions
| 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 | 
