angular-ui/bootstrap — pull request #2978 by onjiro (2014-11-17 14:29:52+00:00)
Title: feat(modal): pass reason when opened promise rejected

Pass rejected reason on opened promise rejected,
like $routeChangeError event on ngRoute.
Give chance to handle error depends on rejected reason on opened promise.