Angularjs 获取角度过滤器错误-Function.prototype.toString不是泛型

Angularjs 获取角度过滤器错误-Function.prototype.toString不是泛型,angularjs,prototype,angular-filters,Angularjs,Prototype,Angular Filters,我有函数A的对象,它有原型函数 我正在尝试在ctrl文件中使用filterFilter。我的错误就在下面 TypeError: Function.prototype.toString is not generic at Franchise.toString (<anonymous>) at comparator (../bower_components/angular/angular.js:18856:29) at deepCompare (../bower_components/a

我有函数A的对象,它有原型函数

我正在尝试在ctrl文件中使用filterFilter。我的错误就在下面

TypeError: Function.prototype.toString is not generic
at Franchise.toString (<anonymous>)
at comparator (../bower_components/angular/angular.js:18856:29)
at deepCompare (../bower_components/angular/angular.js:18911:16)
at deepCompare (../bower_components/angular/angular.js:18895:47)
at deepCompare (../bower_components/angular/angular.js:18891:42)
at predicateFn (../bower_components/angular/angular.js:18866:12)
at Array.filter (native)
at ../bower_components/angular/angular.js:18830:35

我的错。。我不知不觉地将特许经营原型改写成了其他东西。我纠正了它,它工作了…

你能提供你的过滤代码什么是
特许经营
?特许经营是我创建的一个功能。
searchQuery = {'taluka': 'someval'};
lookupList = [{
                   deliveryDetails: {taluka: 'someval'}
             }];
return filterFilter(lookupList, searchQuery);