title: TypeError: $(...).carousel is not a function
body: <p>I know this has been asked in many questions, but the most common answer that jQuery isn't loaded doesn't work for me. It seems my jQuery is being loaded properly (version 1.10.2).
  I am trying to run the following code (tried even in console, so the loading issue doesn't remain):
  <code><code>$('.carousel').on('mouseenter',function(){ $( this ).carousel();})</code></code></p>
  
  <p>Bootstrap carousel by itself is working fine. It's just when am trying to initialize it dynamically, it's not working. (I just started with angular and bootstrap, so I might be missing something very simple here.)
  I am using angular js and bootstrap for my application. </p>
  
  <p>EDIT:
  Here's my html code:</p>
  
  <pre><code>&lt;div class="row" ng-controller="ItemGallery" style="padding-top:30px;"&gt;
      &lt;div class="col-md-4 item_card" ng-repeat="item in item_array"&gt;
          &lt;a href="{{'/product/id='+item.product_id}}" class="thumbnail"&gt;
              &lt;div id="{{'carousel_'+item.product_id}}" class="carousel slide" data-ride="carousel" data-interval="false"&gt;
                  &lt;div class="carousel-inner" role="listbox"&gt;
                      &lt;div class="item active"&gt;
                          &lt;img src="{{item.thumbnail}}" alt="{{item.product_title}}" class="img-responsive product-image"/&gt;
                      &lt;/div&gt;
                      &lt;div class="item"&gt;
                          &lt;img src="{{item.nutrition_thumbnail}}" alt="{{item.product_title}}" class="img-responsive nutri-image"/&gt;
                      &lt;/div&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="caption post-content"&gt;
                  &lt;h4 class="h_no_margin"&gt;
                      &lt;p class="pull-left title"&gt;{{item.product_title.toLowerCase() }}&lt;/p&gt;
                      &lt;p class="text-right"&gt;${{item.price}}&lt;/p&gt;
                  &lt;/h4&gt;
                  &lt;small&gt;
                      {{item.product_desc}}
                  &lt;/small&gt;
              &lt;/div&gt;
          &lt;/a&gt;
  
      &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Angular code:</p>
  
  <pre><code>var app = angular.module('item_gallery', []);
  
  app.controller('ItemGallery', function($http, $scope, $location) {
  $http.get("/product/list")
  .success(function(response) {
      $scope.item_array = response.response;
      });
  
  
  });
  </code></pre>
  
  <p>I used bower to take care of dependencies.</p>
  
  <pre><code>{
   "name": "nutrinext",
   "version": "0.0.0",
   "dependencies": {
    "angular": "~1.3.1",
    "angular-bootstrap": "~0.11.2",
    "angular-timeago": "~0.1.3",
    "angular-ui-router": "~0.2.11",
    "ngstorage": "~0.3.0",
    "bootstrap": "~3.3.0",
    "bootstrap-markdown": "~2.7.0",
    "jquery": "1.10.2",
    "fastclick": "~1.0.3",
    "fontawesome": "~4.2.0",
    "pubnub": "~3.6.4"
   },
  "devDependencies": {},
  "resolutions": {
    "angular": "~1.3.1",
    "bootstrap": "~3.3.0"
   }
  }
  </code></pre>