title: AngularJS ui-select dropdown default value
body: <p>I am using <a href="https://github.com/angular-ui/ui-select" rel="noreferrer">angular ui-select</a> for drop down. How can I set a default value for the drop down value? </p>
  
  <pre><code>&lt;h3&gt;Selectize theme&lt;/h3&gt;
    &lt;p&gt;Selected: {{country.selected}}&lt;/p&gt;
    &lt;ui-select ng-model="country.selected" theme="selectize" ng-disabled="disabled" style="width: 300px;"&gt;
      &lt;ui-select-match placeholder="Select or search a country in the list..."&gt;{{$select.selected.name}}&lt;/ui-select-match&gt;
      &lt;ui-select-choices repeat="country in countries | filter: $select.search"&gt;
        &lt;span ng-bind-html="country.name | highlight: $select.search"&gt;&lt;/span&gt;
        &lt;small ng-bind-html="country.code | highlight: $select.search"&gt;&lt;/small&gt;
      &lt;/ui-select-choices&gt;
    &lt;/ui-select&gt;
  </code></pre>
  
  <p>The snippet is from <a href="http://plnkr.co/edit/a3KlK8dKH3wwiiksDSn2?p=preview" rel="noreferrer">plnkr.co</a>. Currently the dropdown just sowing default <code>Select or search a country in the list...</code> But i need to pass a value from controller. Lets say <code>$scope.default = {"name":"Decard"}</code></p>
  
  <h2>Thanks!!</h2>
  
  <h2>EDIT</h2>
  
  <p>This question is similar to <a href="https://stackoverflow.com/questions/32983771/angularjs-ng-model-bind-from-json">This one</a> but involving json return format of data.</p>