I am implementing one drop-down with ng-repeat. I want to add place holder in input box, Because first time it is blank(without selecting the drop-down option). So I want to set by default placeholder. I don't want leave blank drop-down input box.
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.names = ["Emil", "Tobias", "Linus"];
});
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<div ng-app="myApp" ng-controller="myCtrl">
<select ng-model="selectedName" ng-options="x for x in names">
</select>
</div>