AngularJS plugin that adds a clear button on input box