natiscrip/angulart form validation code example
Example 1: email validation pattern angular
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"
Example 2: angular number validation
ng-pattern="re"
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"
ng-pattern="re"