Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 15b8f20

Browse files
dcsgIgorMinar
authored andcommitted
docs($filter): minor corrections
1 parent 1d38867 commit 15b8f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/filter.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* function MyModule($provide, $filterProvider) {
1515
* // create a service to demonstrate injection (not always needed)
1616
* $provide.value('greet', function(name){
17-
* return 'Hello ' + name + '!':
17+
* return 'Hello ' + name + '!';
1818
* });
1919
*
2020
* // register a filter factory which uses the
@@ -26,7 +26,7 @@
2626
* // filters need to be forgiving so check input validity
2727
* return text && greet(text) || text;
2828
* };
29-
* };
29+
* });
3030
* }
3131
* </pre>
3232
*

0 commit comments

Comments
 (0)