feat($animate): allow directives to cancel animation events

why this change?