Sorry you had to experience that. I hope your future work experience will be better. I've worked with douche bag bosses and dick head workers who don't know how to work and manage. I just look at them as weak people who have issues dealing with their anger and personal problems. Don't take it personally. Just keep your head up and do what you do best and stay positive. Good things will come.