Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 039041e

Browse files
committed
docs: syntax highlight auto bootstrap code example
1 parent 3da441b commit 039041e

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55
Angular initializes automatically when you load the angular script into your page that contains an element
66
with `ng:app` directive:
77

8-
<html ng:app>
9-
<head>
10-
<script src="angular.js"></script>
11-
</head>
12-
<body>
13-
I can add: {{ 1+2 }}.
14-
</body>
15-
</html>
8+
<pre>
9+
<!doctype html>
10+
<html ng:app>
11+
<head>
12+
<script src="angular.js"></script>
13+
</head>
14+
<body>
15+
I can add: {{ 1+2 }}.
16+
</body>
17+
</html>
18+
</pre>
1619

1720
From a high-level view, this is what happens during angular's automatic initialization process:
1821

0 commit comments

Comments
 (0)