title: Bootstrap select picker with ng-repeat is not working for JSON object
body: <p>I was using Bootstrap select for search and multiple select but the problem is when i am using $scope object in ng-repeat for options it's not working . I have given my codes below .</p>
  
  <pre><code>&lt;select name="name" ng-model="city.id" class="selectpicker" data-live-search="true" ng-options="o._id as o.name for o in stateList" &gt;&lt;/select&gt;
  
  &lt;select name="name" ng-model="city.id" class="selectpicker" data-live-search="true" &gt;&lt;option ng-repeat="option in stateList" value="{[{option._id}]}"&gt;{[{option.name}]}&lt;/option&gt;
  </code></pre>
  
  <p></p>
  
  <p>I have used both options and ng-option methods but still the object didn't show up ...</p>
  
  <p>This is my state object that need to be repeated in select... </p>
  
  <p>$scope.stateList = [{"_id":"1","name":"www"},{"_id":"2","name":"bgg"}]</p>
  
  <p>Hope you understand my problem and if you need any more details
  pls leave a comment and i'm waiting for your suggestions...</p>