doc(module) changed simpleApp to myApp in the Module page guide for consistency

This commit is contained in:
Sahat Yalkabov 2012-08-01 16:43:11 -04:00 committed by Misko Hevery
parent 5cb7297a08
commit 62cfedbe0c

View file

@ -27,15 +27,15 @@ Important things to notice:
* Notice the reference to the `myApp` module in the `<html ng-app="myApp">`, it is what
bootstraps the app using your module.
<doc:example module='simpleApp'>
<doc:example module='myApp'>
<doc:source>
<script>
// declare a module
var simpleAppModule = angular.module('simpleApp', []);
var simpleAppModule = angular.module('myApp', []);
// configure the module.
// in this example we will create a greeting filter
simpleAppModule.filter('greet', function() {
myAppModule.filter('greet', function() {
return function(name) {
return 'Hello, ' + name + '!';
};