Here is my code:
<select id="storeSelectBox" ng-model="model.store" ng-options="store.name for store in model.stores[model.retailer.shortName]" ng-change="retailerSelected()"></select>
My issue is following: since 'store.name' is not mandatory it can be emtpy and select shows empty items. Is there any possibility to get 'store.shortName' only when 'store.name' is empty? Would be great to modify somehow ng-options expression without touching controller. Thanks in advance for help.