Every time I think about anger, I end up concluding it must originate from fear. Frequently that fear is related to one’s status in various social groups and/or perceived lack of control. What fundamental fear is of in specific circumstances IMO determines whether the anger downstream is, to quote the article, “correct”.
If someone stole from you a little, the underlying fear could be that it is a trend, your subsistence is directly in danger, and/or that your social status is becoming such that others feel comfortable stealing from you[0]. Payback desire is the desire to reaffirm your status and deter future occurrences.
If you feel angry because of something your spouse has done, there may be a hidden fear of losing control, or losing them. Being angry is probably going to be the least optimal response, and the need for control could be something worth working on.
If someone physically attacked you, what kind of fear lies behind your anger is obvious. (Anecdotally, I get a brief flash of irrational anger if I accidentally and suddenly hit my head, e.g. at some low-hanging feature. I think somehow this triggers the same response as if I was physically attacked. Lasts milliseconds.)
The more confident, relaxed, and non-controlling one is, the less cause there would be for anger.
[0] It doesn’t have to be, depending on circumstances: if you are an affluent tourist with a fat bank account and real estate, and someone snatches your wallet while you are walking down a night market in a developing country you are visiting, you have not much reason to be angry: sure, it’s an inconvenience to call your bank and block credit cards, but objectively you are not in trouble, and you are detached from society in which the theft took place. A local resident could have a radically different response in the same scenario.