I want to implement typeahead using
angularjs in spring mvc application. I implemented by executing the SQL query each time when we type using like in query. Due to performance , instead of querying the database every time, I have created a singleton bean which has a list of
string. How to query that list when we use type ahead in angular Js.I want to query from the collection and return when we type