title: angularjs pass select option
body: <p>Using MVC 4 and angularjs, I'm trying to pass the selected option to my controller.  I can get this to work:</p>
  
  <pre><code>    &lt;select ng-model="record.Line"&gt;
          &lt;option value="1" id="line"&gt;1&lt;/option&gt;
          &lt;option value="2" id="line"&gt;2&lt;/option&gt;
          &lt;option value="3" id="line"&gt;3&lt;/option&gt;
      &lt;/select&gt;
  </code></pre>
  
  <p>But I can't get this to work, nothing gets passed for the value:</p>
  
  <pre><code>    &lt;select ng-model="record.Line" value="record.Line" ng-options="l.name for l in lines" /&gt;
  </code></pre>
  
  <p>I've tried using several different options for "value" but no luck.  I would prefer the second option if I can figure out why it isn't working.</p>