Setting up the controller for google maps

Hi,

I am using
Google Maps Geolocation API
Google Maps JavaScript API
Google Places API Web Service

to set up a find local health services how do I go about adding these to the controller?
I have the code for implementing the the place type just not sure how to add it to the controller.js

Please help

thanks