title: How to validate decimal no using ng-pattern in angularJs?
body: <p>I want to validate decimal no like 0.5,0.05 and also natural no.</p>
  
  <p>For natural no I used this pattern <code>/^[0-9]{1,7}$/</code>.</p>
  
  <p>What pattern I will use for decimal no and natural no together?</p>