The best source on what Allah would be "angry" with is the Qur'an. (Whatever it means for Allah to be "angry" from the perspective of the divine.) This includes:
* Killing prophets
* Blatant ungratefulness for miracles and divine aid (the story of the Children of Israel in the desert)
* Deserting the Prophet (S) during wartime
* Lying under oath in a court
* Denying the truth about the existence/nature of Allah when it is apparent
Justice, the right to give/withold life, and truth are all attributes of Allah, and so one could conclude that the anger of Allah is invoked by violating those fundamental ways in which Allah interacts with the cosmos.