I know Customizing out of the box typeahead directive is not a good idea, 
so went ahead and created another directive called `type-ahead-custom` for 
my customization.

Problem: with my directive in place, typeahead seems to lag one $http 
request behind while showing the data on UI. 
For example, if you start by typing.

s = no results displayed on ui, even though we got back data from server.

so = Now you see the results of previous query results i.e 's', even though 
we got back data for 'so'

sou = Now you see the results of previous query results i.e 'so', even 
though we got back data for 'sou'

this continues.

I am not sure why this is happening or how to fix this. Any pointers will 
be helpful.

here's plunker https://plnkr.co/edit/PmYRm37Uqn6CFYAXuUcl

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to