Skip to content

Commit b9900d4

Browse files
matthewjhnetman92
authored andcommitted
docs(filter.js): documents second parameter to .register
Closes angular#12378
1 parent 67c5cc8 commit b9900d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng/filter.js

Lines changed: 1 addition & 0 deletions
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)