Do not make a decision with regards to any matter when angry. In anger a person is bound to make a faulty decision which he would then regret having made all his life.
Move away, cool down and think seriously before firing the bullets of divorce in anger. Almost every husband has regretted the decision of 'Talaaq' made when angry. Many wives have also regretted demanding a divorce, after their anger cooled and they thought of the consequences.
Even parents should not beat up their children in anger, for they too could sometimes regret, all their lives, the damage done. Teachers, as well, should not a make a decision of punishment in anger. Since the expression of anger is from Shaytaan, one has to be wary in not succumbing to it.
source:http://www.maulanayunuspatel.co.za/books-Hedayatus-Saalikeen-5.php