Onomatopoeic word taken from the approximate sound made by hitting someone in the head with a metal saucepan or frying pan
She swung with all her might and spanged him right in the face with her cast-iron pan.