Angular directive for firing methods on enter key press