aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ng/filter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/filter.js b/src/ng/filter.js
index 24ba248c..76ced407 100644
--- a/src/ng/filter.js
+++ b/src/ng/filter.js
@@ -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>
*