An AngularJs Directive to Support Google Places Autocomplete API

What’s up guys, Eze here. Today I want to talk to you about a directive I’ve been working on which is a wrapper for Google Places Autocomplete using the Google Places API. As always, you can find the code here. This directive is an improvement for a discontinued project.
Using the Directive
This directive is really easy to use. First, we need to get the code and you can do it via bower using the following command:bower install ng-autocomplete-places –save. Once we reference the file in our HTML, we are almost ready to go. As you can see in the code below, we only need to add the directive to the input control we want to convert into an autocomplete textbox and then define the object in our AngularJs controller.