Wow that is totaly inappropriate. I´m sorry your T did this to you it had to feel awful.
Everybody is entitled to their feelings nobody can say what other people can feel or not including Ts. So of course they can feel angry. But acting on it is completely different matter and yelling at client is so not ok and should not be tolerated in my opinion.