From 0f3ea45d738ca6d09c4ceedf2e06fdf344054b5a Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Mon, 8 Sep 2014 10:14:17 +0100 Subject: [PATCH] docs($filter): remove duplicate documentation of register method --- src/ng/filter.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/ng/filter.js b/src/ng/filter.js index 8e32fdb7..6a27dafe 100644 --- a/src/ng/filter.js +++ b/src/ng/filter.js @@ -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