title: AngularJS Selection - setting ng-model in controller does not update selected value
body: <p>I'm facing a problem in upgrading my ng-model in selection.<br>
  I have the following HTML:</p>
  
  <pre><code>&lt;div ng-app&gt;
      &lt;div ng-controller="Ctrl"&gt;
          &lt;select ng-model="viewmodel.inputDevice"
          ng-options="i.label for i in viewmodel.inputDevices"&gt;
          &lt;/select&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And the following code:  </p>
  
  <pre><code>function Ctrl($scope) {
       // view model
      $scope.viewmodel = new function () {
          var self = this;
          var elem1 = {
              value: '1',
              label: 'input1'
          };
  
          var elem2 = {
              value: '2',
              label: 'input2'
          }
  
          self.inputDevices = [elem1, elem2];
  
          self.inputDevice = {
              value: '1',
              label: 'input1'
          };
      };
  }  
  </code></pre>
  
  <p>You can use the following <a href="http://jsfiddle.net/8t2Ln/26/">JSFiddle</a></p>
  
  <p>What I want to do is put in <strong>inputDevice</strong> the same values that the first device has in  the collection <strong>inputDevices</strong>.<br>
  I know that I can pass <strong>elem1</strong> and it will work however i can't do it since i want to save the selection in Local Storage and than restore it to the ng-model object.<br>
  Any suggestion will be grateful<br>
  Thanks</p>