you have to look at it differently. Prior to 1979, the US wasnt so involved in keeping dictators in power in Muslim countries.
The people despise america for keeping dictators in power at the expense of the local populations. If the US didnt meddle in domestic affairs there wouldnt be a reason for extremism.
The Hostage crisis is a case-in-point. If the US didnt back the Shah, the people wouldnt have revolted against him.
Sure, the nutjobs were in charge of the revolution, but if you didnt give them a reason to rally against an external element (US involvement) things wouldnt have gotten so bad.