here's how to use the directive. add `change-on-enter` as an attr, then pass in the `change-function`