Am using the regex /^[0-9]+$/ to limit the input of the text box to only accept numbers. It's working fine but when the types something like +124 then also it's not setting the text box as invalid.
<form name="myForm" novalidate>
<input type="number" ng-model="age" name="age" ng-pattern="/^[0-9]+$/" />
<h3>Valid Status : {{myForm.age.$valid}}</h3>
</form>
Input: 123 Output: myForm.age.$valid - true
Input: -123 Output: myForm.age.$valid - false
Input: +123 Output: myForm.age.$valid - true (shouldn't be true)