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 5cb7297 commit 62cfedbCopy full SHA for 62cfedb
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