GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(guide/module): make the use of `ng-app` explicit in example · wangjunji/angular.js@b8b8411

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/content/guide
    • module.ngdoc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/content/guide/module.ngdoc‎

Copy file name to clipboardExpand all lines: docs/content/guide/module.ngdoc
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ 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="true">
3030
<file name="index.html">
31-
<div>
32-
{{ 'World' | greet }}
31+
<div ng-app="myApp">
32+
<div>
33+
{{ 'World' | greet }}
34+
</div>
3335
</div>
3436
</file>
3537

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.