diff options
| author | Vojta Jina | 2012-01-17 11:00:25 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-17 11:00:25 -0800 |
| commit | 039041e3ae77afe51c0f8d9eab0ea12c9412d6f2 (patch) | |
| tree | af97dcd72ddf270404b9ec574b9a196f25176aaf /docs/content/guide | |
| parent | 3da441b5809deec3a87f349816b7b222d6db5979 (diff) | |
| download | angular.js-039041e3ae77afe51c0f8d9eab0ea12c9412d6f2.tar.bz2 | |
docs: syntax highlight auto bootstrap code example
Diffstat (limited to 'docs/content/guide')
| -rw-r--r-- | docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc b/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc index ff14a703..6129056c 100644 --- a/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc +++ b/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc @@ -5,14 +5,17 @@ Angular initializes automatically when you load the angular script into your page that contains an element with `ng:app` directive: - <html ng:app> - <head> - <script src="angular.js"></script> - </head> - <body> - I can add: {{ 1+2 }}. - </body> - </html> +<pre> +<!doctype html> +<html ng:app> + <head> + <script src="angular.js"></script> + </head> + <body> + I can add: {{ 1+2 }}. + </body> +</html> +</pre> From a high-level view, this is what happens during angular's automatic initialization process: |
