docs($filter): minor corrections

This commit is contained in:
Daniel Gomes
2012-04-24 11:39:05 +02:00
committed by Igor Minar
parent 1d388676e3
commit 15b8f205bb

View File

@@ -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>
*