angular-ui/bootstrap — pull request #2153 by chessydk (2014-05-06 11:39:46+00:00)
Title: modal component: "resolve" now also handles named services

The documentation for modal - resolve prop states "members that will be resolved and passed to the controller as locals; it is equivalent of the resolve property for AngularJS routes"

But AngularJS routes can resolve a service by name (a string) which the modal component can not. My fix solves it by using $injector.get to resolve it when it is a string.