Angular Animations
Explain Angular's animation DSL (triggers, states, transitions) and how it integrates with the Web Animations API.
Angular's animation system provides a declarative, TypeScript-based DSL for defining state-based and transition-based animations directly in a component's metadata, rather than requiring hand-written CSS transitions/keyframes or manual JavaScript animation orchestration — and interviewers ask about it because it's a distinctly Angular-flavored approach worth understanding on its own terms, separate from general CSS animation knowledge.
Angular's animation DSL is like giving a theater's lighting technician a precise, state-based cue sheet ('when the scene changes from Act 1 to Act 2, dim over 3 seconds using this specific curve') rather than asking them to manually nudge dimmer switches in real time and hope the timing happens to line up with the actors' cues.