title: $uibModalInstance undefined (AngularJS UI.Bootstrap)
body: <p>Why is $uibModalInstance unable to be injected here?</p>
  
  <p><a href="http://plnkr.co/edit/mi9Ytv0HaqE47ENod4Gn?p=preview" rel="noreferrer">http://plnkr.co/edit/mi9Ytv0HaqE47ENod4Gn?p=preview</a></p>
  
  <pre><code>baseController.$inject = ['$uibModal', '$uibModalInstance'];
  
  function baseController($uibModal, $uibModalInstance) {
  
  self.ok = function () {
  $uibModalInstance.close(self.selected.item);
  };
  
  self.cancel = function () {
  $uibModalInstance.dismiss('cancel');
  };
  </code></pre>
  
  <p>I am trying to access $uibModalInstance and if I try to inject it, I get an injection error.   </p>
  
  <p>If I don't inject it, then it's Undefined...</p>