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.
Merge pull request #1 from glebm/master

Fix event binding edge case