Have you considered she might have some undiagnosed SNs such as Asperger's or Sensory processing disorder. Essentially she may be "masking" at school but then when she gets home, the strain of holding herself together all day is too much, and she will go to pieces.
In the meantime, it is worth investigating how to make her life at home more stressfree after school. No physical demands (ie chores, picking things up being helpful, taking her clothes off even or putting them on), same routine every day, food she likes, no social demands (ie asking her to be polite or answer questions are social demands)
google autism in girls, and sensory processing disorder.
There are lots of girls with autism out there, undiagnosed until their late forties in some cases, who were impeccably behaved at school, very bright, but find a lot of daily life quite overwhelming. Anger and aggression and bad behaviour can be signs of anxiety or simply tiredness.
Five year olds find school exhausting anyway. Even if there is no question mark over SNs is there something about her school day that could be altered to improve her behaviour - after school club might be very tiring, or does she get the chance to run around a bit after school, or alternatively is the walk home from school too much for her... Is it homework setting her off perhaps, could that be reduced?
All my sympathy, I had a very demanding dd with what I now think was sensory processing disorder; certainly she needed lots of reassurance and cuddles, but it came out in a very "uncuddly" way...spending time with her was not much fun at that age. she was much much better with a little companion, might a friend round also help matters? Dd was always terrible at entertaining herself. Dd does not have autism, but her brother does...