Yes, it is prudent to destroy the nuclear capability of a country that chants "Death to America" before they become an imminent threat.
Had the US waited until Iran were an eminent threat and then suffered a nuclear blast in one of her harbours, they would have nothing but "I told you so" to comfort them. Don't let your repulsion of war blind you to the fact that other cultures with different values don't have the same repulsion as you.
Perhaps Trump shouldn't have ripped up the treaty Obama achieved with Iran. The one where we could pop in unannounced at any time to inspect facilities to make sure there's no nuclear bomb making capabilities.
Trump has already claimed that he has destroyed all nuclear capability of Iran at the previous attack done by USA against Iran.
Claiming now that this other attack has the same purpose makes certain that USA has lied either at the previous attack or at the current attack.
When the government of a country is a proven liar, no allegations about how dangerous another country is are credible.
Moreover, just before the attack, during the negotiations between USA and Iran it was said that Iran accepted most of the new American requests regarding their nuclear capabilities, which had the goal to prevent them from making any weapons, but their willingness to make concessions did not help them at all to avoid a surprise attack before the end of the negotiations.
If iranian politics would have allowed nuclear weapons they'd have them already. They could also have accepted gifts from some of their more friendly international relations.
Which it is well known that it hasn't been the case since the revolution, where the republic inherited the nuclear program the US pushed the king to pursue. The shia leaders consider such weapons immoral, and hence it seems like the main aim for the aggressors is to remove obstacles in Iran and rush them into getting nukes. It also has the side effect of increasing proliferation in Europe, with several states now moving towards extending or developing nuclear weapons.
This rhetoric about them getting nukes is a deception, it's for people who know little to nothing about Iran that are constrained to a rather racist world view. The animosity towards Iran mainly has to do with them having tried to move away from a monarchical type of government towards a more democratic, unlike US and israeli allies in the region, who are mostly kingdoms and extremely autocratic.
Bombing schools will certainly teach them not to chant "Death to America"
Can't imagine why they would be anti-American