title: AngularJS and SELECT: how to programmatically set the initial item?
body: <p>I have such a code: (JADE syntax)</p>
  
  <pre><code>    select(ng-model="eventTypeUI")
             option(ng-repeat="c in eventUI", ng-value='c.value',
                 ng-disabled='selectEventCanNotBeUsed(c.value)') {{c.name}}
  </code></pre>
  
  <p>I do not use ng-options in select since I need to dynamically enable/disable individual listings with ng-disabled call.</p>
  
  <p>EventUI has the following structure:</p>
  
  <pre><code>  [ { "name": "Creation date", "value": 1 }, { "name": "Scratch Date", "value": 2 }, 
    { "name": "Shippment Date", "value": 3 } ]
  </code></pre>
  
  <p>However when I set initially event.eventTypeUI to some number in controller init, I do not get it selected programmatically. Instead, "undefined" blank state of select appears. How I can make it so that by default item with value=5 is selected?</p>
  
  <p>If possible, too, I would like ng-model not to take c.value, but to take object c as a whole. When I tried to assign ng-value=c, I got "[object Object]" in eventTypeUI. </p>