mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-17 22:34:43 +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
54bcb9ae25
commit
fa12564607
@@ -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