title: Error: Controller 'carousel', required by directive 'slide', can't be found
body: <p><strong>Summary :</strong></p>
  <p>Whenever I try to use the <code>data-slide</code> in the <code>HTML DOM</code>, I get this error in my js console:</p>
  <blockquote>
  <p>Error: [$compile:ctreq] Controller 'carousel', required by directive
  'slide', can't be found!</p>
  </blockquote>
  <p>I created a application with bootstrap and angularjs. I already added this library <code>&lt;script type=&quot;text/javascript&quot; src=&quot;/bower_components/bootstrap/dist/js/bootstrap.js&quot;&gt;&lt;/script&gt;</code>.</p>
  <p>I've included <strong><code>ui.bootstrap</code></strong> as a dependency when creating my app.</p>
  <p><strong>Entire error:</strong></p>
  <pre><code>Error: [$compile:ctreq] Controller 'carousel', required by directive 'slide', can't be found!
  http://errors.angularjs.org/1.4.10/$compile/ctreq?p0=carousel&amp;p1=slide
      at angular.js:68
      at getControllers (angular.js:8432)
      at nodeLinkFn (angular.js:8570)
      at angular.js:8810
      at processQueue (angular.js:15097)
      at angular.js:15113
      at Scope.$eval (angular.js:16359)
      at Scope.$digest (angular.js:16175)
      at Scope.$apply (angular.js:16467)
      at done (angular.js:10852)
  </code></pre>
  <p><strong>Relevant part of the template:</strong></p>
  <pre><code>&lt;div id=&quot;carousel-example-generic&quot; class=&quot;carousel&quot; data-ride=&quot;carousel&quot; data-interval=&quot;false&quot;&gt;
                          &lt;a class=&quot;left carousel-control&quot; href=&quot;#carousel-example-generic&quot; role=&quot;button&quot; data-slide=&quot;prev&quot;&gt;
                              &lt;span class=&quot;glyphicon glyphicon-triangle-left&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;
                              &lt;span class=&quot;sr-only&quot;&gt;Previous&lt;/span&gt;
                          &lt;/a&gt;
                          &lt;a class=&quot;right carousel-control&quot; href=&quot;#carousel-example-generic&quot; role=&quot;button&quot; data-slide=&quot;next&quot;&gt;
                              &lt;span class=&quot;glyphicon glyphicon-triangle-right&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;
                              &lt;span class=&quot;sr-only&quot;&gt;Next&lt;/span&gt;
                          &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  <p>When I removed <code>data-slide=&quot;prev&quot;</code> &amp; <code>data-slide=&quot;next&quot;</code> this error not coming.</p>