directives for custom form validation error handling (angular validation)