title: between two specific value angular validation
body: <p>I have this input </p>
  
  <pre><code>&lt;input type="text" ng-model="total" /&gt;
  </code></pre>
  
  <p>I want to set a validation rule to limit the <code>total</code> be between two specific <code>min</code> and <code>max</code> value, how can I achieve this with angular? I don't want to use input of type <code>number</code>. user will enter only positive integer numbers so we can assume that entered value is integer.</p>