I have a Collection which has two Keys which like Below AngularJs model.
$scope.Collection=[{id:1,name:"A"},{id:1,name:"B"},{id:1,name:"A"},{id:1,name:"C"},{id:2,name:"A"},{id:2,name:"C"},{id:2,name:"A"},{id:3,name:"D"}];
I want to remove Duplicate rows, if Both Keys have Same Values and wanted Array Without Duplicate rows using AngularJs Filter.
Sample Output Should be like Below
$scope.Collection=[{id:1,name:"A"},{id:1,name:"B"},{id:1,name:"C"},{id:2,name:"A"},{id:2,name:"C"},{id:3,name:"D"}]