My code is utilizing ng-repeat to display options with different values and texts, while also designating a default selection. However, Angular is introducing an additional empty undefined option.
<select ng-model="newItem.financial_year_id" required style="min-width:180px;">
<option ng-repeat="financial in account_year" value="{{financial.id}}" ng-selected="financial.status=='Active'">{{financial.financial_year}}</option>
</select>
Although the active option is correctly selected, an unwanted empty option continues to appear.