Directive for text input autocomplete for Ionic framework