There are so many different things at the prophet (saw) mentioned that we should do at night and they do involve the Angels.
By making wudu, just by reciting Ayatul Kursi You have an angel that stands guard for you. You have an angel that seeks forgiveness for you throughout the night; you end your night well.
So if you died that night on the dhikir, then you return to Allah subhanaka in the state of remembrance as opposed to an estate of whatever it is that you were doing before you went to sleep.
And if you wake up in the morning you wake up already oriented towards Allah subhanahu wa’ta’ala, ready to cling back to those things that you went to sleep with so that you can continue your direction and your pursuit of Him.
Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever retired for the night in a state of purity, an angel will reside with him in his bed. He will not awaken for an hour in the night but that the angel says: O Allah, forgive this servant of yours, for he retired in a state of purity.”
Source: al-Da’wāt al-Kabīr 358
Grade: Hasan (fair) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مِنْ بَاتَ طَاهِرًا بَاتَ فِي شِعَارِهِ مَلَكٌ لَا يَسْتَيْقِظُ سَاعَةً مِنَ اللَّيْلِ إِلَّا قَالَ الْمَلَكُ اللَّهُمَّ اغْفِرْ لِعَبْدِكَ فُلَانٍ فَإِنَّهُ بَاتَ طَاهِرًا
358 الدعوات الكبير للبيهقي
2539 المحدث الألباني خلاصة حكم المحدث إسناده حسن في السلسلة الصحيح