Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66836f commit 2583e77Copy full SHA for 2583e77
docs/content/guide/module.ngdoc
@@ -27,15 +27,15 @@ Important things to notice:
27
* Notice the reference to the `myApp` module in the `<html ng-app="myApp">`, it is what
28
bootstraps the app using your module.
29
30
-<doc:example module='simpleApp'>
+<doc:example module='myApp'>
31
<doc:source>
32
<script>
33
// declare a module
34
- var simpleAppModule = angular.module('simpleApp', []);
+ var simpleAppModule = angular.module('myApp', []);
35
36
// configure the module.
37
// in this example we will create a greeting filter
38
- simpleAppModule.filter('greet', function() {
+ myAppModule.filter('greet', function() {
39
return function(name) {
40
return 'Hello, ' + name + '!';
41
};
0 commit comments