My boyfriend easily loses his temper. Should I continue with him?

My boyfriend easily loses his temper. Should I continue with him?

From a female blog reader:

Please keep me anonymous and post urgently please
I have been dating my boyfriend now for some months he has been good to me and from what I have seen he doesn’t cheat, but the problem now is he is temperamental and I have anger issues too. He once slapped me because I got angry and kicked him then he slapped me twice until I just apologised but he later came begging and I forgived him
I really love him so much but am from a broKen home and I do not want to repeat the same mistake my parents made and at the same time I do not want to break his heart please advice me am really confused
Should I break up because I have been trying to work on my anger issue so we can be compatible and it’s really hard