SyntaxFix
Write A Post
Hire A Developer
Questions
Use field state $touched The field has been touched for this as shown in below example.
<div ng-show="formName.firstName.$touched && formName.firstName.$error.required"> You must enter a value </div>