title: Using jQuery function inside AngularJS controller
body: <p>I needed to initialize a <code>jQuery</code> plugin on all elements with a certain class name which comes inside an <code>ng-repeat</code> loop. These elements are loaded via <code>angularjs</code> <code>$http get</code> method.</p>
  
  <pre><code>var app = angular.module('myApp', []);
  
  app.controller('myController', function($scope, $http) {
      $http.get('get_item.php').success(function(response) {
          $scope.items = response;
          angular.element('.make-switch').bootstrapSwitch(); // jQuery plugin code
      });
  });
  </code></pre>
  
  <p>But this doesn't work.
  I tried <code>$('.make-switch').bootstrapSwitch();</code> also. Please help.</p>