angular-ui/bootstrap — pull request #2088 by circuitrider (2014-04-20 00:58:21+00:00)
Title: feat(carousel): Exposing $scope.currentIndex for index of current slide

Allows templates to access currentIndex, which is the index of the slide currently active. This allows for per-slide customized behavior in navigation such as disabling the 'prev' button on the first slide or the 'next' button on the last slide.

This opens the door for greater customization and more complex templating of the carousel.