title: How to validate an IP in a text field AngularJS
body: <p>How to validate an IP in a textfield in AngularJS ? Currently I am using this code, but its not working in all cases . Any idea ?</p>
  
  <p><code>ng-pattern='/^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/</code></p>