na-adjective
in a fit of anger; out of anger
Describes an action done impulsively while angry, often with a nuance of losing control. Commonly used in the pattern 腹立ち紛れに〜する.
腹立ち紛れにそんなことを言ってしまった。
I said that in a fit of anger.
腹立ち紛れに物を壊してはいけない。
You mustn't break things out of anger.