change on enter directive executes passed in function when enter pressed