Skip to content

Commit 83c2eef

Browse files
author
danrbergman
committed
Update module.ngdoc Hello World example
Helpful for people new to Angular to see the ng-app declaration in context with the expression example. This will help illustrate the "Important thing to notice" point which follows: "The reference to myApp module in <html ng-app="myApp">. This is what bootstraps the app using your module."
1 parent 28b54bb commit 83c2eef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content/guide/module.ngdoc

+2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ I'm in a hurry. How do I get a Hello World module working?
2828

2929
<example module='myApp'>
3030
<file name="index.html">
31+
<html ng-app="myApp">
3132
<div>
3233
{{ 'World' | greet }}
3334
</div>
35+
</html>
3436
</file>
3537

3638
<file name="script.js">

0 commit comments

Comments
 (0)