twitter search for users using screen name in an ionic android app

I am integrating twitter in my ionic android app. In my app I want to search for users using their screen_name or email. Similar to the twitter search. How can I do it ?.Please any idea from you will be helpful. I have tried out a lot of things but nothing is working.??.I have tried this to get the home timeline but if I use the same mechanism for implementing search here it is not working even after tweaking the code.Here is the link--->http://ionicframework.com/blog/displaying-the-twitter-feed-within-your-ionic-app/.