angularjs - calling an angular function when an option is selected from list -


input type="text" placeholder="" ng-autocomplete ng-keyup="adddeliveryareas($event)" ng-model="deliveryareas.search" details="details" options="options"

i using ng-autocomplete directive. https://github.com/wpalahnuk/ngautocomplete want call angular function when address selected option list

simply use ng-change directive. angular doc function bind called everytimes change ng-model occurs.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -