DD does this too sometimes, as you aid wen seh's tired and angry at me, even though she tends to vent her frustation at things mainly, but occasionaly me as well.
I always remove her from wherever we are, tek her to the bottom of the stairs, crouch dwon to her levle and try to talk to her and say that this is not acceptable, if she tries to get up I put her down again, until she calms down (can take up to 15-20 minutes in the worst cases).
Recently her tantrums have started to be less violent and shorter (she's now 2 and 7 months), but she started having them way before she was 2!!
I ahve been at times quie desperate about it and given her a smack on teh thigh once, but she just laughed at me (....)!!
It si attention seeking, if I ignore dd's bad behaviour she turns on to breaking things or hitting me so she can get a reaction, but I've tried to be very consistent and not let her get away with this kind of behaviour ever.
I also always takke away something she really wants as a punishment: we leave a friend's house if we're visiting, cancela trip to the park or the treat she wanted, no video before bed, etc etc.
For a long time it seemed like this was taking me nowhere, but it's now starting to have effect as she tends to calm down a lot more quickly if I say 'If you keep doing this we're not going to visit X', also in the past few days she has started to change her tactics: it's as if she now uunderstood that throwing things and hitting is not getting her anywhere, but sweet and nice behaviour is, so sometimes while I'm in the middle of a sentence telling her off, she would have acomplete change of personality and go from THE Exorcist type to being a very sweet little girl and say things like: 'cuddle mummy', or 'I'm tired mummy', which obviously wins me over all the time!! (Not that I give in to the demands that caused the tantrum, but I do give her a cuddle!!)
Hope this helps,I'm starting to see the end of the tunnel, so there is hope, even though sometimes I wonder whether it's anytihng we mums do, or they would just grow out of it anyway as they get older!!!