title: How do I 'select' multiple values in a multiple select using angular.js
body: <p>I have the following code:</p>
  
  <pre><code>&lt;select ng-model="myData.states" multiple="multiple" ng-options="option.value as option.name for option in myStates"&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I populate these options in a controller using ajax.</p>
  
  <p>In some cases, I want to load the page with some options 'selected'.  How do I achieve this if I have the state name? i.e. (CA, TX).  I do not have the value since angular increments the value on its own.</p>