diff --git a/src/ngAutocomplete.js b/src/ngAutocomplete.js index 3b0b33c..e0a7d06 100644 --- a/src/ngAutocomplete.js +++ b/src/ngAutocomplete.js @@ -101,6 +101,9 @@ angular.module( "ngAutocomplete", []) } } } + + // Say our scope we have a result + scope.$emit('ngAutocomplete:place_changed', result); }) //function to get retrieve the autocompletes first result using the AutocompleteService @@ -163,4 +166,4 @@ angular.module( "ngAutocomplete", []) } }; - }); \ No newline at end of file + });