I would take the second to mean that she hit the door hard with her hand. I would take the first (which isn't very natural) to mean the same as "She slammed the door angrily" - she closed it very loudly and violently, probably as she left the room in a bad mood.
In case Phaedrus' post confuses you, "to bang" is a slang term for "to have sex with".