In order to eliminate error messages, I decided to clear the field with a button click. This approach successfully removed the error in my initial test.
<div class="errorPopup"
data-ng-click="runner.Name = null"
data-ng-show="mainForm.name.$error.pattern">
<div class="triangle-down pull-left"></div>
<span>Only letters allowed.</span>
</div>
<input ng-model="runner.Name" data-ng-patter="/(a-z)\" required />
However, I noticed that now I have to click once to clear the field and then twice before the error div is completely removed.
I am seeking a solution where I can get rid of both the field and the error div in a single click.