Implement AngularJS for Events