Currently i am returning carType results like so:
Truck  
SUV  
Sedan  
Truck  
SUV 
I would like to populate a filter select box so it will have the following as options without repetition:
 Truck
 Sedan
 SUV
My current problem is that my select box displays all CarType results which includes repeated items which i would like to eliminate.
Also my display of results after selecting a filter is not working and i am not getting an error so i don't spot where my problem is exactly.
<label for="filters">Filter on Car Type</label>
        <select id="filters" ng-model="selectedType" ng-options="x.type as x.type for x in result">
            <option value="">Select Car Type</option>
        </select>
in my table where i am wanting to display results based on filter:
<tr ng-repeat="x in result|filter:selectedTDL">
            <td data-title="Car Type">{{x.type}}</td>
            <td data-title="Year">{{x.year}}</td>
        </tr>
not sure what i am missing or what is wrong for the results to display.
UPDATE: i was able to resolve the filtering portion and display based on filtered option. But not sure how to eliminate duplication in the filtering select statement.
 
    