use ng-model, update value on blur or when a suggestion is clicked
remove console log
make example page more usable