adjusted templates and directives only show errors once the user has left the field