fix for angular 1.3, event callbacks