mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 16:10:22 +00:00
docs($filter): minor corrections
This commit is contained in:
parent
1d388676e3
commit
15b8f205bb
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
* function MyModule($provide, $filterProvider) {
|
||||
* // create a service to demonstrate injection (not always needed)
|
||||
* $provide.value('greet', function(name){
|
||||
* return 'Hello ' + name + '!':
|
||||
* return 'Hello ' + name + '!';
|
||||
* });
|
||||
*
|
||||
* // register a filter factory which uses the
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
* // filters need to be forgiving so check input validity
|
||||
* return text && greet(text) || text;
|
||||
* };
|
||||
* };
|
||||
* });
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue