EventManager module for AngularJS