Child hurts himself?

I have an almost 2 year old son who bangs his head and hits himself when he gets mad. I was told this is normal and to just ignore it when he does it but he is truly hurting himself, he gives himself big knots and bruises. He busted his eye open the last time. I truly don't know what to do he's been doing it for months now and nothing I do helps, I try to tell him that he shouldn't but he still does. Sometimes he does it and laughs, has anyone else dealt with this, if so what did you do? 
His doctors told me it was normal and to just ignore it and try to place him in a safe place, he has also gotten a brain scan and everything checked out. I've recorded and shown them videos and they all said it is something he will grow out of but I'm so worried he is going to hurt himself. Even when I stop him he bangs his head on me I have to fully restrain him.