https://github.com/angular-ui/bootstrap/issues/1132

Fixes https://github.com/angular-ui/bootstrap/issues/1132 issue