converted events to angular