title: Angular Validation for input depends on another input
body: <p>I have a list of json objects. Each object has <code>minage</code> and <code>maxage</code>.</p>
  
  <p>I want to <code>ng-repeat</code> on this object and display input to enter the <code>minAge</code> and input for <code>maxAge</code>. </p>
  
  <p>I want to add validation for the fields:</p>
  
  <ul>
  <li>Max age should be bigger than Min age.</li>
  <li>the Min age of the next pair
  of inputs should be lower than Max age of previous pair of inputs.</li>
  </ul>
  
  <p><a href="http://jsfiddle.net/avime3156/am9u11sw/2/" rel="nofollow">Example fiddle</a></p>