docs($filter): remove duplicate documentation of register method

This commit is contained in:
Peter Bacon Darwin
2014-09-08 10:14:17 +01:00
parent cddd48fe20
commit 0f3ea45d73

View File

@@ -60,16 +60,6 @@
* For more information about how angular filters work, and how to create your own filters, see
* {@link guide/filter Filters} in the Angular Developer Guide.
*/
/**
* @ngdoc method
* @name $filterProvider#register
* @description
* Register filter factory function.
*
* @param {String} name Name of the filter.
* @param {Function} fn The filter factory function which is injectable.
*/
/**
* @ngdoc service
@@ -108,7 +98,7 @@ function $FilterProvider($provide) {
/**
* @ngdoc method
* @name $controllerProvider#register
* @name $filterProvider#register
* @param {string|Object} name Name of the filter function, or an object map of filters where
* the keys are the filter names and the values are the filter factories.
* @returns {Object} Registered filter instance, or if a map of filters was provided then a map