title: Using angular, How do I get selected value on ng-change on a dropdown?
body: <p>So I have some data coming in a string seperated by commas.</p>
  
  <pre><code>sizes: "Small,Medium,Large,X Large,XX Large"
  </code></pre>
  
  <p>I got a drop down that displays value based on splitting that string.</p>
  
  <pre><code>&lt;select ng-options="choice as choice for (idx, choice) in val.sizes.split(',')" 
          ng-change="selected.product.set.size(choice);&gt;
  
          &lt;option value=""&gt;Please select a size&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Using <code>ng-change</code>: How do I pass the selected value <code>choice</code>to a function?</p>