angular-ui/bootstrap — pull request #2067 by chippage0 (2014-04-15 18:29:15+00:00)
Title: feat(carousel): Callbacks when carousel transitions begin and end.

This commit adds callbacks for the begin and end of the transition animations.
When a transition starts, the begin callbacks are invoked (for entering or leaving slides).
When the transitioning ends, the end callbacks are invoked (for entering or leaving slides).

This introduces the following attributes on the slide directive:
* onenteringtransitionbegin
* onenteringtransitionend
* onleavingtransitionbegin
* onleavingtransitionend

These will cause the corresponding callback expression to be evaluated (within the scope).

Example:

<slide ... onenteringtransitionbegin="enteringEnded()" ...>

Where the scope has the following function:

$scope.enteringEnded = function enteringEnded() { ... };