title: How to set AngularJS drop down default value
body: <p>my HTML code for drop down like follow: </p>
  
  <pre><code> &lt;select ng-model="selected_value" 
       ng-options="(x.version + ' ' + ' : ' + x.status) for x in allData"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>my Angular code like follow :
  data comes from a rest service </p>
  
  <pre><code>$http.get(......).success(function (data, status){
     $scope.allData = data;
     $scope.selected_value = $scope.allData[0].version + " : " + $scope.allData[0].status;
  });
  </code></pre>
  
  <p>Data comes to the drop down. but initially drop down does not display the value. It shows if only select the value. Can someone help on this issue.</p>