title: how do I select ng-option select angularjs?
body: <p>When edit the product, I want this <code>ng-option</code> to be selected automatically. How do I do that? </p>
  
  <pre><code>&lt;div ng-if="field.name=='ProductId'" class="input-group inputFill"&gt;
      &lt;select ng-disabled="defaultSaveButtons[$index]"
              class="form-control inputFill2"
              ng-model="field.value"
              ng-options="product.id as product.name for product in dropdown.productOptions  | orderBy:'name'
                  track by product.id "&gt;
      &lt;/select&gt;
  &lt;/div&gt;
  
  </code></pre>