I have a select
with ng-repeat option
, How to show all the options
except for the options
which contains 'TM'
?
<select ng-model="mainCtrl.header.selectedItemId" class="form-control">
<option ng-repeat="option in mainCtrl.items | filter:'TM'" ng-value="option.id">{{option.name}}</option>
</select>