Char the onion and ginger in a dry pan over high heat for 3-4 minutes until blackened in spots.
Add the stock, onion, ginger, star anise, cinnamon and cloves to a large pot. Simmer gently for 30 minutes.
Strain the broth, return it to the pot and stir in the fish sauce and sugar. Taste and adjust.
Cook the rice noodles according to the packet, drain and divide between bowls.
Arrange the thinly sliced beef over the noodles.
Ladle the boiling-hot broth over the beef so it cooks in the bowl.
Top with spring onions, bean sprouts and herbs. Serve with lime wedges, chilli, sriracha and hoisin.