mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
docs(guide/module): update tag in description
the reference to 'myApp' module changed in the example from <html> to a <div>. Updating description to reflect the new <div> tag. Closes #8720
This commit is contained in:
committed by
Caitlin Potter
parent
b8b8411b15
commit
9352bdfdaf
@@ -58,7 +58,7 @@ I'm in a hurry. How do I get a Hello World module working?
|
||||
Important things to notice:
|
||||
|
||||
* The {@link angular.Module Module} API
|
||||
* The reference to `myApp` module in `<html ng-app="myApp">`.
|
||||
* The reference to `myApp` module in `<div ng-app="myApp">`.
|
||||
This is what bootstraps the app using your module.
|
||||
* The empty array in `angular.module('myApp', [])`.
|
||||
This array is the list of modules `myApp` depends on.
|
||||
|
||||
Reference in New Issue
Block a user