我想创建一种具有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>