title: Min and max validation
body: <p>I have two inputs one for min and the other for max value. <br>
  How can I add validation so the min &lt; max?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form-group"&gt;
      &lt;label class="control-label"&gt; Montant minimum&lt;/label&gt; 
      &lt;input id="min" class="form-control" type="number" ng-model="type.minMontant" required/&gt;
  &lt;/div&gt;
  
  &lt;div class="form-group"&gt;
      &lt;label class="control-label"&gt; Montant maximum&lt;/label&gt; 
      &lt;input id="max" class="form-control" type="number" ng-model="type.maxMontant" required/&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And then when I'll try to pick a value, it must be in [min,max] ?</p>