title: Angularjs - $uibModal provider error
body: <p>I'm trying to inject $uibModal into my project, however when the controller loads, I get the following error:</p>
  
  <pre><code>Error: [$injector:unpr] Unknown provider: $uibModalProvider &lt;- $uibModal &lt;- abilityListController
  </code></pre>
  
  <p>I'm using NuGet for my package management.</p>
  
  <p>Angularjs: 1.4.8</p>
  
  <p>Bootstrap: 3.3.6</p>
  
  <p>Angular-Ui-Bootstrap: 0.14.3</p>
  
  <p>Here's the relevant code: </p>
  
  <p>Index.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;link href="Content/bootstrap.css" rel="stylesheet" /&gt;
      &lt;script src="scripts/angular.js"&gt;&lt;/script&gt;
      &lt;script src="scripts/angular-ui/ui-bootstrap.js"&gt;&lt;/script&gt;
      &lt;script src="app/app.js"&gt;&lt;/script&gt;
      &lt;script src="app/homeController.js"&gt;&lt;/script&gt;
      &lt;script src="app/abilityList/abilityListController.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div ng-app="tecApp"&gt;
          &lt;div ng-controller="homeController as vm"&gt;
              &lt;/div&gt;
              &lt;div ng-controller="abilityListController as vm" ng-if="true"&gt;
                  &lt;div ng-include="'app/abilityList/abilityList.html'"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>app.js:</p>
  
  <pre><code>angular.module("tecApp", []);
  </code></pre>
  
  <p>AbilityListController.js:</p>
  
  <pre><code>angular
      .module('tecApp')
      .controller('abilityListController', AbilityListController);
  
  AbilityListController.$inject = ['$uibModal'];
  
  function AbilityListController($uibModal) {
      var vm = {};
      return vm;
  }
  </code></pre>
  
  <p>I think I'm injecting incorrectly, but it might have to do with how i've included my source files. </p>
  
  <p>I get no console errors aside from the one mentioned above.</p>
  
  <p>I prefer this syntax for my angular code, so I'm hoping for a fix to my code rather than using ('controllername', ['$stuff', 'moreStuff']).</p>
  
  <p>Thanks in advance for any help.</p>