When a person is angry with you, there are different ways to apologize. It depends on the other’s nature as well. Let’s see how ‘Umar (RA) apologized to the Prophet (SAW) on everyone’s behalf..
Narrated Anas bin Malik:
One day Allah’s Apostle came out (before the people) and ‘Abdullah bin Hudhafa stood up and asked (him) “Who is my father?” The Prophet replied, “Your father is Hudhafa.” The Prophet told them repeatedly (in anger) to ask him anything they liked. ‘Umar knelt down before the Prophet and said thrice, “We accept Allah as (our) Lord and Islam as (our) religion and Muhammad as (our) Prophet.” After that the Prophet became silent.
Lesson: Choose a good way to apologize.