check for google object before binding events
check for google object before binding events

inside an ng-repeat, when the collection is empty the watch still gets triggered, but with undefined as value. We shouldn't bind events in this case.
angular-ui/ui-map,bitperbit/ui-map,behzad88/ui-map,bitperbit/ui-map,kongx73/ui-map,kongx73/ui-map,angular-ui/ui-map