title: How to convert ng-repeat to ng-options?
body: <p>I am not getting how the ng-model are connected to the ng-repeat options. How can the code below be converted to an ng-repeat? I can get the ng-repeat work but </p>
  
  <blockquote>
    <p>ng-selected="{{alternative.code == question.answer}}"</p>
  </blockquote>
  
  <p>is what I don't understand how to do with the ng-options. </p>
  
  <pre><code>&lt;select ng-model="question.answer"&gt;
     &lt;option ng-selected="{{alternative.code == question.answer}}"
              ng-repeat="alternative in question.alternatives"
              value="{{alternative.code}}"&gt;{{alternative.label}}&lt;/option&gt;
  &lt;/select&gt;    
  </code></pre>