Add event to angular method of controller