title: swiper is not a function
body: <p>I have code above like this but every time use this method i get error </p>
  
  <blockquote>
    <p>cggowl_jav_info_cont.swiper us not a function</p>
  </blockquote>
  
  <p>i am not able to figure out why, please help</p>
  
  <pre><code>var cggowl_jav_info_cont = $scope.find('.cggowl-row').eq(0);
  var cgggowl_settings = cggowl_jav_info_cont.data('settings');
  var cgggowl_slidesPerView = cgggowl_settings['slidesPerView'];
  
  
  cggowl_jav_info_cont.swiper('.swiper-container', {
                            slidesPerView: cgggowl_slidesPerView,
  });
  </code></pre>
  
  <p>For slick slider like above the method works</p>
  
  <pre><code>var cggowl_jav_info_cont = $scope.find('.cggowl-row').eq(0);
  var cgggowl_settings = cggowl_jav_info_cont.data('settings');
  var cgggowl_slidesPerView = cgggowl_settings['slidesPerView'];
  
  
  cggowl_jav_info_cont.slick({
                            slidesPerView: cgggowl_slidesPerView,
  });
  </code></pre>
  
  <p>if i use var <code>myCar = new swiper('.swiper-container', {</code> the carousel will work. </p>