Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2583e77

Browse files
Sahat Yalkabovmhevery
Sahat Yalkabov
authored andcommitted
doc(module) changed simpleApp to myApp in the Module page guide for consistency
1 parent f66836f commit 2583e77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/module.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Important things to notice:
2727
* Notice the reference to the `myApp` module in the `<html ng-app="myApp">`, it is what
2828
bootstraps the app using your module.
2929

30-
<doc:example module='simpleApp'>
30+
<doc:example module='myApp'>
3131
<doc:source>
3232
<script>
3333
// declare a module
34-
var simpleAppModule = angular.module('simpleApp', []);
34+
var simpleAppModule = angular.module('myApp', []);
3535

3636
// configure the module.
3737
// in this example we will create a greeting filter
38-
simpleAppModule.filter('greet', function() {
38+
myAppModule.filter('greet', function() {
3939
return function(name) {
4040
return 'Hello, ' + name + '!';
4141
};

0 commit comments

Comments
 (0)