I have a very simple array that has duplicate values. My array is like this:
$scope.type= ["Bar", "Pie", "Line", "Line", "Line", "Line", "Line", "Line", "map", "Line", "Bar", "Pie", "Pie", "Pie", "Pie", "Pie", "Pie", "Pie"]
in my ng-repeat, I have this condition
ng-repeat = types in type track by $index
How can I display only the unique values from my array in ng-repeat?