aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/misc
diff options
context:
space:
mode:
authorMisko Hevery2012-01-06 18:10:47 -0800
committerMisko Hevery2012-01-10 22:27:00 -0800
commit5143e7bf065a3cbdf8400cf095b653d51bc83b8f (patch)
tree980149c365d4cb5586d27975d26366a25ff7be6a /docs/content/misc
parentafd25446d23f24872eb20ac79c8fbd2cff203ef0 (diff)
downloadangular.js-5143e7bf065a3cbdf8400cf095b653d51bc83b8f.tar.bz2
feat(module): new module loader
Diffstat (limited to 'docs/content/misc')
-rw-r--r--docs/content/misc/downloading.ngdoc4
-rw-r--r--docs/content/misc/started.ngdoc11
2 files changed, 7 insertions, 8 deletions
diff --git a/docs/content/misc/downloading.ngdoc b/docs/content/misc/downloading.ngdoc
index d7cb086e..c99de118 100644
--- a/docs/content/misc/downloading.ngdoc
+++ b/docs/content/misc/downloading.ngdoc
@@ -20,10 +20,10 @@ example points to (non-minified) version 0.9.12:
<pre>
<!doctype html>
- <html xmlns:ng="http://angularjs.org">
+ <html xmlns:ng="http://angularjs.org" ng:app>
<head>
<title>My Angular App</title>
- <script src="http://code.angularjs.org/angular-0.9.12.js" ng:autobind></script>
+ <script src="http://code.angularjs.org/angular-0.9.12.js"></script>
</head>
<body>
</body>
diff --git a/docs/content/misc/started.ngdoc b/docs/content/misc/started.ngdoc
index 591fb859..08e37668 100644
--- a/docs/content/misc/started.ngdoc
+++ b/docs/content/misc/started.ngdoc
@@ -27,18 +27,17 @@ Now let's take a closer look at that code, and see what is going on behind
the scenes.
The first line of interest defines the `ng` namespace, which makes
-AngularJS work across all browsers (especially important for IE):
+AngularJS work across all browsers (especially important for IE). The
+`ng:app` tags tells angular to process the entire HTML when it is loaded:
<pre>
- <html xmlns:ng="http://angularjs.org">
+ <html xmlns:ng="http://angularjs.org" ng:app>
</pre>
-The next line downloads the angular script, and instructs angular to process
-the entire HTML page when it is loaded:
+The next line downloads the angular script:
<pre>
- <script type="text/javascript" src="http://code.angularjs.org/angular-?.?.?.min.js"
-ng:autobind></script>
+ <script type="text/javascript" src="http://code.angularjs.org/angular-?.?.?.min.js"></script>
</pre>
(For details on what happens when angular processes an HTML page,