I am new to angular JS 2.x. Now I am filling my combobox from json file. For eg, I am getting "id" alone from json file and fill my combobox. But id can be repeated with multiple times. I want to remove those duplication and show unique ids alone.
Pls help me. My code
<select>
<option>All</option>
<option *ngFor="let data of datas ">
{{data.deviceId}}
</option>
</select>