Skip to content

Commit b871b98

Browse files
matthewjhlgalfaso
authored andcommitted
docs(filter.js): documents second parameter to .register
Closes angular#12378
1 parent 1cb6bd4 commit b871b98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng/filter.js

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ function $FilterProvider($provide) {
115115
* your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores
116116
* (`myapp_subsection_filterx`).
117117
* </div>
118+
* @param {Function} factory If the first argument was a string, a factory function for the filter to be registered.
118119
* @returns {Object} Registered filter instance, or if a map of filters was provided then a map
119120
* of the registered filter instances.
120121
*/

0 commit comments

Comments
 (0)