mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 19:11:08 +00:00
docs(module): fix typo in example
fixed example app, `simpleAppModule` should have been `myAppModule`.
This commit is contained in:
parent
271d2bed3a
commit
b32adb7dea
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ Important things to notice:
|
||||||
|
|
||||||
// configure the module.
|
// configure the module.
|
||||||
// in this example we will create a greeting filter
|
// in this example we will create a greeting filter
|
||||||
simpleAppModule.filter('greet', function() {
|
myAppModule.filter('greet', function() {
|
||||||
return function(name) {
|
return function(name) {
|
||||||
return 'Hello, ' + name + '!';
|
return 'Hello, ' + name + '!';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue