Skip to content

Commit 0f3ea45

Browse files
docs($filter): remove duplicate documentation of register method
1 parent cddd48f commit 0f3ea45

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/ng/filter.js

+1-11
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@
6060
* For more information about how angular filters work, and how to create your own filters, see
6161
* {@link guide/filter Filters} in the Angular Developer Guide.
6262
*/
63-
/**
64-
* @ngdoc method
65-
* @name $filterProvider#register
66-
* @description
67-
* Register filter factory function.
68-
*
69-
* @param {String} name Name of the filter.
70-
* @param {Function} fn The filter factory function which is injectable.
71-
*/
72-
7363

7464
/**
7565
* @ngdoc service
@@ -108,7 +98,7 @@ function $FilterProvider($provide) {
10898

10999
/**
110100
* @ngdoc method
111-
* @name $controllerProvider#register
101+
* @name $filterProvider#register
112102
* @param {string|Object} name Name of the filter function, or an object map of filters where
113103
* the keys are the filter names and the values are the filter factories.
114104
* @returns {Object} Registered filter instance, or if a map of filters was provided then a map

0 commit comments

Comments
 (0)