<select ng-model="form.priority" ng-options="priority.id as priority.value for priority in leadPriority"></select>
Показывает пустую опцию по умолчанию. Как его удалить?AngularJS удалить ng-options пустое значение
<select ng-model="form.priority" ng-options="priority.id as priority.value for priority in leadPriority"></select>
Показывает пустую опцию по умолчанию. Как его удалить?AngularJS удалить ng-options пустое значение
Использовать ng-init в опциях например.
<select ng-model="form.priority" ng-options="priority.id as priority.value for priority in leadPriority" ng-init="form.priority = leadPriority[0].id"></select>
Вы можете установить в контроллере, как,
$scope.form.priority = $scope.leadPriority[0].id;
Проверьте [это] (http://stackoverflow.com/questions/20738953/angular-js-remove-blank-option-from-select-option). Вы можете установить в контроллере как '$ scope.form.priority = $ scope.leadPriority [0] .id;' – Arulkumar