I would say Ginsberg makes an allusion to Walt Whitman in this excerpt to suggest a familiarity and kinship with Walt Whitman and other outcasts.
As you can see in the poem, Whitman is all alone, wandering around the supermarket, searching for a soul mate. He asks the poet, 'Are you my angel?' suggesting that he has no one else around him, which is something the poet can relate to.