After Adam had learned the names of all things, along with their properties and uses, Allah presented them to the angels and said: "Tell Me the names of these if you are truthful." Surah 2:31 The angels admitted their inability: "Glory be to You, we have no knowledge except what You have taught us. Verily, it is You, The All-Knowing, The All-Wise. " Surah 2:32
Allah Almighty then turned to Adam: "0 Adam! inform them of their names," and when he had informed them of their names, He said: "Did I not tell you that I know the Ghaib (unseen) in the heavens and the earth, and I know what you reveal and what you have been concealing?" Surah 2:33
Allah wanted the angels to know that He knew of their astonishment when He had told them about the creation of Adam and that He also knew of their confusion which they had not revealed, as well as what Iblis had concealed of his disobedience and ingratitude.
Angels Acknowledge Adam's Knowledge
The angels realized that Adam was the creature who knew what they did not know and that his capacity to learn was his noblest quality. His knowledge included knowledge of the Creator which we call Faith or Islam, as well as the knowledge that he would need to inhabit and master the earth, and all kinds of worldly knowledge which are included in this.