If you cast Angel of the Dire Hour outside of combat, its triggered ability will trigger but have no effect.

Artwork
Loading artwork…
Angel of the Dire Hour
Jumpstart · #85 · EN
Nonfoil—Foil—
Card rules
Flash
Flying
When this creature enters, if you cast it from your hand, exile all attacking creatures.
5/4
She arrived like a meteorite, and the enemy fell in a shock wave of holy vengeance.
Rare · Illustrated by Jack Wang
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If a spell or ability instructs you to put Angel of the Dire Hour onto the battlefield from your hand, that means you won’t have cast it, so its triggered ability won’t trigger.
Creatures that were declared as attackers or entered the battlefield attacking continue to be attacking creatures until the combat phase ends. It’s possible to exile all attacking creatures after they’ve dealt combat damage if you cast Angel of the Dire Hour during the combat damage step or end of combat step.