title: Setting selected option on init in AngularJS not working
body: <p>When I try to set the selected value of a dropdown on init it doesn't work. Selected value is coming from a factory which is injected in the controller. But also when I make a very simple example it's not working, see: <a href="https://jsfiddle.net/8cozvdue/2/" rel="nofollow">JSFiddle</a></p>
  
  <pre><code>&lt;div ng-init="selectedItem1 = '2';selectedItem2 = '2';items=[{id:1,name:'One'},{id:2,name:'Two'},{id:3,name:'Three'}];"&gt;
  
  &lt;select ng-model="selectedItem1"&gt;
  &lt;option&gt;&lt;/option&gt;
  &lt;option ng-repeat="item in items" value={{item.id}}&gt;{{item.name}}&lt;/option&gt;
  
  &lt;/select&gt;
  {{selectedItem1}}
  &lt;br /&gt;
  &lt;select ng-options="i.name for i in items track by i.id" ng-model="selectedItem2"&gt;
  
  &lt;/select&gt;
  {{selectedItem2}}
  &lt;button ng-click="selectedItem1=null;selectedItem2=null"&gt;Reset&lt;/button&gt;
  </code></pre>
  
  <p>It's not working in both cases, using ng-options and using ng-repat.</p>
  
  <p>Am I doing something wrong?</p>