how does the angular pattern validator work code example Example: pattern validator angular <input name="firstName" ngModel pattern="[a-zA-Z ]*">