I am new to AngularJS. I have developed a simple Angular UI Modal form and I am trying to validate the form on form submission i.e. when end user click the submit button. I followed an video lecture that uses a Angular directive to validate the fields that places 'has-error' class on the parent element. please the images for the clarification.
Angular Form
Error Directive
HTML Template
I want the messages Full Name is required , A valid email is required should only be displayed when either Save button is clicked or the input controls fires up the blur event. please guide what I am missing here....


