title: Angular UI - Bootstrap Accordion not working/dynamic ng-include
body: <p>I have a problem with the Accordion:</p>
  
  <p>I try to do pretty much the same what the <a href="https://angular-ui.github.io/bootstrap/#/accordion" rel="nofollow">demo</a> shows, I have an <strong>Array of objects</strong>. Every object contains a string, which is the header <strong>title</strong>. It also contains a string which is the relative <strong>path</strong> to another HTML-File, which should be the content of the accordion-group.</p>
  
  <pre><code>$scope.groups = [{
      groupTitle: "Title1",
      templateUrl: "sites/file1.html"
  }, {
      groupTitle: "Title2",
      templateUrl: "sites/file2.html"
  }];
  </code></pre>
  
  <p>This code is in a controller called <code>AccordionController</code>.
  In my HTML I have this code inside of my controller</p>
  
  <pre><code>&lt;accordion&gt;
      &lt;accordion-group ng-repeat="group in groups" heading="{{group.groupTitle}}"&gt;
          &lt;div ng-include="group.templateUrl"&gt;&lt;/div&gt;
      &lt;/accordion-group&gt;
  &lt;/accordion&gt;
  </code></pre>
  
  <p>The ng-include and that stuff works, but the groups basically don't react on clicks to then open or close, I also tried to add the <code>is-open</code> directive. With the parameter I pointed to a boolean Array which changes the specific values on <code>ng-click</code></p>
  
  <p>The annoying thing - which I really don't understand anyway - is that all this works <a href="http://plnkr.co/edit/dbSNwVH0So4He5EKcIMB?p=preview" rel="nofollow">here in Plunker</a></p>
  
  <p>I also linked </p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="styles/bootstrap.min.css" /&gt;
  &lt;script type="text/javascript" src="scripts/angular.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="scripts/ui-bootstrap-tpls-0.12.0.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and added <code>bootstrap.ui</code> to my module.</p>
  
  <p>I get the error-message: <code>TypeError: undefined is not a function</code> in the console when I load it.</p>
  
  <p>I would appreciate any help!</p>