Skip to content

Conversation

@thiphariel
Copy link

I know there is already a PR about that (penghou620@10e8d9f) but I think this one has a different approach, I prefer get the sended result directly from the emit event than take it back from the scope.

// Simply get the directive result on this event
$scope.$on('ngAutocomplete:place_changed', function(result) {
    $log.info('Google's places results : ', result);
});

It's fate is in your hands \o/

@fabianoroberto
Copy link

+1

1 similar comment
@ITachiLab
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants