title: form select change option from a number
body: <p>I have the following code:</p>
  
  <pre><code>&lt;select id="selectbasic" name="selectbasic" class="input-block-level" ng-model="formData.coWorkers"&gt;
      &lt;option value=""&gt;-- Choose amount of customers --&lt;/option&gt;
      &lt;option value="0-4"&gt;0 - 4&lt;/option&gt;
      &lt;option value="5-24"&gt;5 - 24&lt;/option&gt;
      &lt;option value="25-99"&gt;25 - 99&lt;/option&gt;
      &lt;option value="100-249"&gt;100 - 249&lt;/option&gt;
      &lt;option value="250-"&gt;over 250&lt;/option&gt;                    
  &lt;/select&gt;
  </code></pre>
  
  <p>The formData.coWorkers can have this kind of info "50", "15-50" and "120-". The amount or range of coWorkers in a company.</p>
  
  <p>What I want to do is the following:</p>
  
  <ul>
  <li>Look for the number in formData.coWorkers, ex. 15-50</li>
  <li>Split this information af first and pick the highest number (50)</li>
  <li>Look into select -> option value to find a number range that have 50 in it. The third option value "25-99"</li>
  <li>"15-50" should select "25-99"</li>
  </ul>
  
  <p>But I have no idea how or where to start. Is there anyone that can help my out on this?</p>
  
  <p>Kind regards,
  Niels</p>