From 67f720fdad6c10014462f704502a499aa5c73607 Mon Sep 17 00:00:00 2001 From: Matthew Hill Date: Sat, 18 Jul 2015 21:03:12 +0100 Subject: [PATCH] docs(filter.js): documents second parameter to .register --- src/ng/filter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ng/filter.js b/src/ng/filter.js index 7c466152b9c6..475124e6acb3 100644 --- a/src/ng/filter.js +++ b/src/ng/filter.js @@ -115,6 +115,7 @@ function $FilterProvider($provide) { * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores * (`myapp_subsection_filterx`). * + * @param {Function} factory If the first argument was a string, a factory function for the filter to be registered. * @returns {Object} Registered filter instance, or if a map of filters was provided then a map * of the registered filter instances. */