ngAutocomplete
ngAutocomplete copied to clipboard
Simple AngulasJS directive for adding google places autocomplete to a textbox element
To keep track of the changes to the Places search in the input box, I am using $watch on the ng-model. In the $watch function, I am assigning the longitude...
- Simulating an arrow down and enter on the listbox, so the app don't need to do one extra server call to get the information. This change will also fix...
- Most of linters are complaining about ; in the end of the line.
Removed a not required if
- Removed the opts variable. It is not used outside initOpts. - Moved initOpts function to be inside the variable watcher.
- Fix javascript to be uglify - fix focusout with timer - update to angular 1.2 - add description in details - reformat code
Need to know if the element is valid or not for form controls.