Angular directive for error messages.