Ionic - "Clearable" input: input with a clear button


Hi everyone,

First contribution around here (and on github!). I didn’t find any “clear button” feature in the control enhanced by Ionic so I developed my own using this work as a base, and here is the result:

Please feel free to let me know any issue, feedback… or if this feature was already built-in and I did all that for nothing :frowning: !

Have a nice day.

PS - I discovered both AngularJS and Ionic at the same time, few days ago, so I’ll gladly accept any critic regarding my coding style with these frameworks! Thanks.