title: How to set a default value in ui-select in angular?
body: <p>I wrote a little program in Angular using ui-select elements. Here is the html code :</p>
  
  <pre><code>  &lt;ui-select ng-model="test.selectedContract"&gt;
      &lt;ui-select-match &gt;
        {{$select.selected.name}} - {{$select.selected.value}} ---- {{$select.selected.id.id}} *** {{$select.selected.policy.info.name }}    
      &lt;/ui-select-match&gt;
  
      &lt;ui-select-choices group-by="groupByLetter" 
      repeat="contract in (contracts |
      orSearchFilter: {id.id: $select.search, policy.info.name : $select.search} |
      orderBy: 'name') track by contract.name"&gt;
            {{contract.name}} - {{contract.value}} ---- {{contract.id.id}} *** {{contract.policy.info.name }}
      &lt;/ui-select-choices&gt;
    &lt;/ui-select&gt;
  </code></pre>
  
  <p>And here is the structure of my contracts object :</p>
  
  <pre><code>    $scope.contracts = [{
        name: "contract1.00",
        value: 10,
        id: {
          id: 8000,
          code: 2
        },
        policy: {
          info: {
            name: "test1",
            country: "test"
          }
        }
      }, //other contract objects
  </code></pre>
  
  <p>Finally, there is my plunker code : <a href="http://plnkr.co/edit/PigjGCj5ukxscJC7Wl97?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/PigjGCj5ukxscJC7Wl97?p=preview</a></p>
  
  <p>The problem is that I want to display <strong>"All"</strong> as a default value (if there is no selection) while my default value in my plunker is : " - ---- *** "</p>
  
  <p>Can you please help me to set this default value please?
  Thanks !</p>