title: Dynamically change number of slides displayed in 1 frame of carousel
body: <p>I am new to AngularJS. Right now I have a reusable carousel widget that I modified to display 2 slides in one frame (I make my carousel as a directive so I can use it anywhere). I am using carousel component from angular-ui-bootstrap, and I modified it according to the way explained in this <a href="https://stackoverflow.com/questions/15935389/possible-to-show-two-slides-in-the-carousel-at-a-time?lq=1">post</a>. </p>
  
  <p>However, I am planning to modify my current carousel widget to accept a number that will determine how many slides will be displayed in 1 frame, and dynamically changes its display. </p>
  
  <p>For example, if 3 is passed, then 3 slides will be displayed in 1 frame. </p>
  
  <p>The way I have my 2-slides-in-1-frame carousel widget is pretty static (the number of slides shown in 1 frame is already defined in its HTML). Is it possible to do this? Any help is really appreciated! Thanks.</p>