title: Validate that number is either 0 or between 1 and 5
body: <p>I have an angularjs form, and I need to validate if the number is 0 or is between 1 and 5. This is my current code:</p>
  
  <pre><code>&lt;form name="myform" data-ng-submit="create(myform)" novalidate&gt;
    &lt;input type="number" name="special" data-ng-required="true" 
       data-ng-model="special" data-ng-required="true" min="1" max="5"&gt;
  
    &lt;button&gt;Save&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Is there an easy built in way to validate the number is either 0 or in the range 1-5, or do I need to use a custom directive?</p>