我做错了什么?因为我无法在我的选择列表中设置id为= 995的默认选项?
<script>
var model = {"MeetingPlacesList":[{"Disabled":false,"Group":null,"Selected":false,"Text":"Place 991","Value":"991"},{"Disabled":false,"Group":null,"Selected":false,"Text":"Place 993","Value":"993"},{"Disabled":false,"Group":null,"Selected":false,"Text":"Place 995","Value":"995"}]};
var myApplication = angular.module('MyApplication', []);
myApplication.controller('MeetingController', function ($scope, $http, $filter) {
$scope.MeetingPlacesList = model.MeetingPlacesList;
$scope.FormData = {};
$scope.FormData.SelectedMeetingPlaceId = 995; // it doeasn't work
});
</script>
<select name="SelectedMeetingPlaceId" ng-model="FormData.SelectedMeetingPlaceId" ng-options="place.Value as place.Text for place in MeetingPlacesList"></select>