I am developing an ionic application which will be able to be used as a timetable-like application. I am trying to pull in data using this line of code in an ng-repeat
<ion-item ng-show="item.Location" ng-repeat="item in test | filter: {Day: 'Fri'}>
<table style="width:100%">
<tr>
<td>
Course
</td>
<td>{{item.Course}}</td>
</tr>
<tr>
<td>
Tutor
</td>
<td>{{item.Staff_Name}}</td>
</tr>
<tr>
<td>
Campus
</td>
<td>{{item.Campus}}</td>
</tr>
</table>
</ion-item>
Is there anyway in which I can use a this code and remove a record if all columns of that record match? Meaning that if the record has an exact duplicate, it will only display one?
Any help would be gratefully appreciated.