mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
docs($filter): remove duplicate documentation of register method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user