The variable names bound in ng-model and ng-init need to be the same --> <select ng-model="selectedFruit" ng-init="selectedFruit= fruits[1]" ng-options="x.
確定! 回上一頁