title: How to set the value for an ng-model within a ng-repeat?
body: <p>I have a ng-repeat, which I put inside an select tag.
  I want to be able to modify the selected values on different selects.
  here is what I have :
  the html</p>
  
  <pre><code>&lt;div ng-controller="Ctrl"&gt;
      &lt;div ng-repeat="user in users"&gt;
          &lt;select ng-model="nbModel" ng-options="numValue.Text for numValue in numValues" ng-change="chooseUser(nbModel, user.id)"&gt;
                          &lt;/select&gt;
          &amp;nbsp;&amp;nbsp;{{user.name}}&amp;nbsp;&amp;nbsp;-&amp;nbsp;{{user.age}} years
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>the js </p>
  
  <pre><code>function Ctrl($scope) {
      $scope.numValues = [ {Id : '0',Text : '0'}, {Id : '1',Text : '1'}, {Id : '2',Text : '2' }];    
      $scope.users = [];
  
      $scope.users.push(new User(1, 'Luke', 23));
      $scope.users.push(new User(2, 'Maria', 26));
      $scope.users.push(new User(3, 'Mike', 45));
  
      angular.forEach($scope.users, function(equip) {
          //TODO to set the default values for each select
      });
  
      $scope.chooseUser= function(value, name) {
          //some traitement        
          //TODO to set a wanted value        
      };
  };
  
  function User(id, name, age) {
      this.id=id;
      this.firstnamename = name;
      this.age = age;
  }
  </code></pre>
  
  <p>I could not figure out how to manually set the selected options.
  any help?</p>