All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Saying to your wife: “I will divorce you,” does not make divorce take place, because it is merely a promise of divorce, which does not constitute a divorce. Shaykhul-Islam Ibn Taymiyyah said in Majmoo‘ Al-Fataawa: “A promise of divorce does not take effect even if it is uttered many times; it is neither an obligation to fulfill this promise nor is it desirable to do so.” [End of quote]
As for saying: “I am giving you a divorce”, it is a metaphor of divorce and is not an explicit expression of it, and therefore divorce does not take effect based on that statement if you did not intend it.
This is because a divorce issued in the present tense is considered a metaphor of divorce and is not effective without the intention to initiate a divorce, as was previously explained in Fatwa 198269.
But if you uttered an explicit wording of divorce in your language, then divorce has taken effect even if you were angry, as long as you uttered it while being aware of what you were saying and not overwhelmed by extreme anger that made you lose control over your mind.
The fact that you did not utter the words of divorce thrice in one session does not prevent the occurrence of divorce, nor does it prevent the occurrence of an irrevocable divorce of a major degree if the words of divorce are repeated three separate times. Rather, a husband should not utter the words of divorce thrice in one session.
What we advise you to do is to refer your question directly to a scholar in your country whose religiosity and knowledge you trust.
For more benefit that anger does not prevent divorce from taking place, please refer to Fatwa 121374.
Allah Knows best.