angular-ui/bootstrap — pull request #1772 by chrisirhc (2014-02-10 10:55:15+00:00)
Title: refactor(modal): use $animate for animation (WIP)

- Use decorator to customize animations
- Need to sort of wrap $animate because $animate doesn't support animations that call other animations (.leave can't call .removeClass and expect the removeClass animation to execute)

Work in progress and proof of concept. The demo change is included just for convenience.