Can we do following functionality in ionic? how?

I am trying to find following functionality in ionic framework

  1. When i type it is showing Suggestions

I have following screen shot for this

enter image description here

  1. Now On other side . if my content length increases input box goes upward only.

Like following Screenshot

enter image description here

Can we achieve above in ionic ?

Thanks