hack fix for events not working with angular 1.3