diff options
| author | Misko Hevery | 2012-01-06 18:10:47 -0800 |
|---|---|---|
| committer | Misko Hevery | 2012-01-10 22:27:00 -0800 |
| commit | 5143e7bf065a3cbdf8400cf095b653d51bc83b8f (patch) | |
| tree | 980149c365d4cb5586d27975d26366a25ff7be6a /docs/content/guide/dev_guide.bootstrap.ngdoc | |
| parent | afd25446d23f24872eb20ac79c8fbd2cff203ef0 (diff) | |
| download | angular.js-5143e7bf065a3cbdf8400cf095b653d51bc83b8f.tar.bz2 | |
feat(module): new module loader
Diffstat (limited to 'docs/content/guide/dev_guide.bootstrap.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.bootstrap.ngdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/dev_guide.bootstrap.ngdoc b/docs/content/guide/dev_guide.bootstrap.ngdoc index ed36a543..5b688e3a 100644 --- a/docs/content/guide/dev_guide.bootstrap.ngdoc +++ b/docs/content/guide/dev_guide.bootstrap.ngdoc @@ -7,20 +7,20 @@ angular should process and manage the page. To initialize angular you do the fol * Specify the angular namespace in the `<html>` page * Choose which flavor of angular script to load (debug or production) -* Specify whether or not angular should process and manage the page automatically (`ng:autobind`) +* Specify whether or not angular should process and manage the page automatically (`ng:app`) The simplest way to initialize angular is to load the angular script and tell angular to compile and manage the whole page. You do this as follows: <pre> <!doctype html> -<html xmlns:ng="http://angularjs.org"> +<html xmlns:ng="http://angularjs.org" ng:app> <head> ... </head> <body> ... - <script src="angular.js" ng:autobind> + <script src="angular.js"> </body> </pre> @@ -31,7 +31,7 @@ and manage the whole page. You do this as follows: You need to declare the angular namespace declaration in the following cases: -* For all types of browser if you are using XHTML. +* For all browsers if you are using XHTML. * For Internet Explorer older than version 9 (because older versions of IE do not render widgets properly for either HTML or XHTML). |
