mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
docs(module): fix typo in example
fixed example app, `simpleAppModule` should have been `myAppModule`.
This commit is contained in:
committed by
Igor Minar
parent
271d2bed3a
commit
b32adb7dea
@@ -35,7 +35,7 @@ Important things to notice:
|
||||
|
||||
// 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 + '!';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user