Skip to content

Commit d567a48

Browse files
author
danrbergman
committed
docs: demo ng-app in module.ngdoc Hello World
fixed indentation, replaced <html> w/ <div>, and added "ng-app-included" to <example>
1 parent 83c2eef commit d567a48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/module.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ should be bootstrapped. There are several advantages to this approach:
2626

2727
I'm in a hurry. How do I get a Hello World module working?
2828

29-
<example module='myApp'>
29+
<example ng-app-included module='myApp'>
3030
<file name="index.html">
31-
<html ng-app="myApp">
31+
<div ng-app="myApp">
3232
<div>
3333
{{ 'World' | greet }}
3434
</div>
35-
</html>
35+
</div>
3636
</file>
3737

3838
<file name="script.js">

0 commit comments

Comments
 (0)