title: Search box in angular js
body: <p>I want to implement a search box in my angularJs application. As soon as user starts typing some name in the search box , some REST service should be called and it should fetch all the names which matches the name typed in the search text box. Note that there is no button , the result should come automatically as soon as user starts typing. The REST service is already there. I just need to invoke the REST service when the user starts typing and return the result as a list.
  For ex:- If I type James then all the user whose name starts with James should come as a list in the search box.</p>
  
  <p>Once the list of name comes , the user can click on one of the name and his information should be loaded in the current page. </p>
  
  <p>How can I implement such type-on search box in angular js? Is there any directive for it? Can anyone please give me some direction.</p>