{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3502","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3502/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3502/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3502/events","html_url":"https://github.com/angular-ui/bootstrap/issues/3502","id":66735237,"number":3502,"title":"Carousel controller can't be found","user":{"login":"thebucknerlife","id":2025576,"avatar_url":"https://avatars.githubusercontent.com/u/2025576?v=3","gravatar_id":"","url":"https://api.github.com/users/thebucknerlife","html_url":"https://github.com/thebucknerlife","followers_url":"https://api.github.com/users/thebucknerlife/followers","following_url":"https://api.github.com/users/thebucknerlife/following{/other_user}","gists_url":"https://api.github.com/users/thebucknerlife/gists{/gist_id}","starred_url":"https://api.github.com/users/thebucknerlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebucknerlife/subscriptions","organizations_url":"https://api.github.com/users/thebucknerlife/orgs","repos_url":"https://api.github.com/users/thebucknerlife/repos","events_url":"https://api.github.com/users/thebucknerlife/events{/privacy}","received_events_url":"https://api.github.com/users/thebucknerlife/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T00:00:03Z","updated_at":"2015-04-07T00:00:03Z","closed_at":null,"body":"Whenever I try to use the carousel directive, I get this error in my js console:\r\n\r\n```\r\nError: [$compile:ctreq] Controller 'carousel', required by directive 'slide', can't be found!\r\n```\r\n\r\nI created a custom build with carousel and collapse. Requiring like this: `<script src=\"assets/js/vendor/ui-bootstrap-custom-tpls-0.12.1.min.js\"></script>`\r\n\r\nI've included 'ui.bootstrap' as a dependency when creating my app. \r\n\r\nEntire error:\r\n```\r\nError: [$compile:ctreq] Controller 'carousel', required by directive 'slide', can't be found!\r\nhttp://errors.angularjs.org/1.2.19/$compile/ctreq?p0=carousel&p1=slide\r\n    at https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:1:675\r\n    at $ (https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:1:25062)\r\n    at m (https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:1:26831)\r\n    at https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:1:30240\r\n    at https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:2:4311\r\n    at a.promise.then.l (https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:2:19985)\r\n    at a.promise.then.l (https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:2:19985)\r\n    at https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:2:20662\r\n    at l.$get.l.$eval (https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:2:25869)\r\n    at l.$get.l.$digest (https://cdn.jsdelivr.net/angular.all/1.2.19/angular-all.min.js:2:24394) <div ng-class=\"{\r\n    'active': leaving || (active &amp;&amp; !entering),\r\n    'prev': (next || active) &amp;&amp; direction=='prev',\r\n    'next': (next || active) &amp;&amp; direction=='next',\r\n    'right': direction=='prev',\r\n    'left': direction=='next'\r\n  }\" class=\"left carousel-control item text-center ng-isolate-scope\" ng-transclude=\"\" href=\"#preview-image-carousel\" data-slide=\"prev\">\r\n```\r\n\r\nRelevant part of the template:\r\n\r\n```\r\n... \r\n<h1>Angular-UI Carousel</h1>\r\n  <carousel interval=\"5000\">\r\n    <slide ng-repeat=\"slide in vm.slides\" active=\"slide.active\">\r\n      <img ng-src=\"{{ slide.image }}\" style=\"margin:auto;\">\r\n    </slide>\r\n  </carousel>\r\n...\r\n```\r\n\r\nand controller:\r\n\r\n```\r\n.controller('CreateThingController', ['$state', function($state) {\r\n    var vm = this;\r\n\r\n    vm.slides = [\r\n      {image: 'http://veggiesetgo.com/wp-content/uploads/2012/05/Bottega-Louie_2.jpg'},\r\n      {image: 'http://shubinanddonaldson.com/wp-content/uploads/2012/05/LB02_Bar-C1.jpg'}\r\n    ];\r\n...\r\n```\r\n\r\nThanks for the help."}}