In Genesis 48:15-16, Jacob blesses Joseph by (seemingly) requesting of G-d that His angel bless Joseph's children:
וַיְבָ֥רֶךְ אֶת־יוֹסֵ֖ף וַיֹּאמַ֑ר הָֽאֱלֹקים אֲשֶׁר֩ הִתְהַלְּכ֨וּ אֲבֹתַ֤י לְפָנָיו֙ אַבְרָהָ֣ם וְיִצְחָ֔ק הָֽאֱלֹקים֙ הָרֹעֶ֣ה אֹתִ֔י מֵעוֹדִ֖י עַד־הַיּ֥וֹם הַזֶּֽה׃ הַמַּלְאָךְ֩ הַגֹּאֵ֨ל אֹתִ֜י מִכָּל־רָ֗ע יְבָרֵךְ֮ אֶת־הַנְּעָרִים֒ וְיִקָּרֵ֤א בָהֶם֙ שְׁמִ֔י וְשֵׁ֥ם אֲבֹתַ֖י אַבְרָהָ֣ם וְיִצְחָ֑ק וְיִדְגּ֥וּ לָרֹ֖ב בְּקֶ֥רֶב הָאָֽרֶץ׃
And he blessed Joseph, and said: ‘G-d before whom my fathers Abraham and Isaac did walk, G-d who hath been my shepherd all my life long unto this day, let the angel who hath redeemed me from all evil, bless the lads; and let my name be named in them, and the name of my fathers Abraham and Isaac; and let them grow into a multitude in the midst of the earth.’
Nonetheless, the widespread custom to is to recite (as part of the service before going to sleep) only the latter verse (48:16). The omission of the initial addressing of G-d from 48:15 leads to the popular interpretation of the prayer as addressing directly the angel. This would seem to be a violation of the prohibition of praying to angels as an idolatrous practice. Do any sources discuss this issue?