Weird problem, using Angular UI bootstrap modal I have no issues at all with Angular 1.3 beta 16, however if I enable ng-strict-di mode I get the following error:
From the documentation it looks like you need to declare all dependency injections in string array.
There are other ways but normally I would do it like this:
controller: ['$scope', '$modalInstance', ModalInstanceCtrl]