angular-ui/ui-map — pull request #1 by glebm (2013-04-16 11:52:26+00:00)
Title: Fix event binding edge case

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.