title: AngularJS modal not displayed when using partial for templateURL
body: <p>I have a modal in a partial file that is loaded into my main view with an ng-include tag, but the template isn't found. I don't see the template being loaded in console or the console network tab. I get the following message: Error: [$compile:tpload] Failed to load template: rxsignalUpdateModal.html </p>
  
  <p>controller:</p>
  
  <pre><code>$scope.open = function (size) {
  
      var modalInstance = $modal.open({
          animation: $scope.animationsEnabled,
          templateUrl: 'rxsignalUpdateModal.html',
          controller: 'ModalInstanceCtrl',
          size: size
      });
  };
  </code></pre>
  
  <p>view:</p>
  
  <pre><code>&lt;div class="col-md-12 col-lg-12"&gt;
      &lt;div class="h4 invisible"&gt;&lt;/div&gt;
      &lt;div class="rxsignal-chart-bubble" ui-view="rxsignal-chart-bubble"&gt;&lt;/div&gt;
      &lt;div class="row"&gt;
          &lt;div class="col-md-12"&gt;
              &lt;div class="panel panel-default"&gt;
                  &lt;div class="panel-heading"&gt;
              &lt;span class="text-muted panel-title"&gt;
                  {{ Drug.aedrug_name | pascalCaseFilter }} RxSignal
              &lt;/span&gt;
                      &lt;button class="btn btn-info btn-mini restoreSortButton pull-right"
                              ng-click="clearLocalStorage()"
                              popover-append-to-body="true" popover-trigger="mouseenter"
                              popover-placement="top" popover="Reload grid with default sorting order"&gt;
                          Restore Default Settings
                      &lt;/button&gt;
                      &lt;span id="rxsignal-filter-view" ui-view="rxsignal-filter"&gt;&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class="gridStyle" ng-grid="drugRxsignal.options" id="portfolio-rxsignal-grid"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div ng-include="app/drug/partials/drug.rxsignal.update.modal.html"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>partial:</p>
  
  <pre><code>&lt;!-- modal --&gt;
  &lt;h1&gt; test &lt;/h1&gt;
  &lt;script type="text/ng-template" id="rxsignalUpdateModal.html"&gt;
      &lt;div class="modal-header"&gt;
          &lt;h3 class="modal-title letter-title"&gt;Modal Title&lt;/h3&gt;
      &lt;/div&gt;
      &lt;div class="modal-body"&gt;
          &lt;div class="letter-body"&gt;
              &lt;p&gt;text&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="modal-footer"&gt;
          &lt;button class="btn btn-primary" ng-click="cancel()"&gt;OK&lt;/button&gt;
      &lt;/div&gt;
  &lt;/script&gt;
  &lt;!-- end modal --&gt;
  </code></pre>