How to implement Autocomplete in Ionic

I have date in form of json. i want to create auto-complete input field.
how to implement Autocomplete in Ionic.

you could use this: or create your own directive

How to create my own directive?
plz suggest me Ebreo.
Thank You.

there are a lot of tutorials/docs that explain how to use directives please make some code after that you might ask for help or not?