title: validate natural input number with ngpattern
body: <p>I use <code>ng-pattern="/0-9/"</code> to set <code>price_field</code> do not accept <code>decimal number</code>. But when I input natural number (from 0 to 9999999),<code>ng-show</code> gets activated with <code>Not valid number!</code>. </p>
  
  <p>Where did I go wrong?. Please help.</p>
  
  <pre><code>&lt;form name="myform" data-ng-submit="create()"&gt;
          &lt;input type="number"
                 name="price_field"
                 data-ng-model="price"
                 require
                 ng-pattern="/0-9/"&gt;
          &lt;span  ng-show="myform.price_field.$error.pattern"&gt;Not valid number!&lt;/span&gt;
          &lt;input type="submit" class="btn"&gt;
  &lt;/form&gt;
  </code></pre>