幻灯片动画重复

时间:2015-05-25 00:10:35

标签: angularjs ng-repeat ng-animate

我想创建一种具有nganimate和ng-repeat的滑块。基本上有一个内容有两个按钮(下一个和上一个),以便向左或向右滑动。

        <div class="previous" ng-click="getPreviousTrainingsWeek($index)" ></div>


    <div class="content"  ng-repeat=" week in weeks | limitTo:1 " >
       <div >
            {{$index}}
           Semaine du {{week | formatDateWithoutDay}}
       </div> 
    </div>


    <div class="next" ng-click="getNextTrainingsWeek($index)"></div>

0 个答案:

没有答案