标签: javascript angularjs filter unique
如何确保AngularJS中的完整行是唯一的?
<tr ng-repeat="service in services" >
我了解现有的唯一过滤器discussed here.但是,这仅解释了如何对一列进行唯一过滤。我想在多个列上执行此操作。例如:
<tr ng-repeat="service in services | unique:['category','type','quantity'] >