我在使用以下角度旋转木马时遇到问题,请单击此处我的角度控制器似乎无法正常工作,它正在调出图像。单击此处获取我的源代码我非常遵循演示中演示的代码。但是,让我的图像显示出来我没有任何乐趣。有人可以准确指出我哪里出错了吗?
<body np-app="myApp" ng-controller='demoController'>
<div>
<ul data-rn-carousel rn-carousel-buffered rn-carousel-index="currentSport" class="image">
<li ng-repeat="image in sportImages" style="background-image:url({{ image }});">
<div class="layer" ng-bind-html-unsafe="image"></div>
</li>
</ul>
<button ng-click="currentSport = currentSport - 1" ng-disabled="currentSport == 0">prev</button>
<button ng-click="currentSport = currentSport + 1" ng-disabled="currentSport == sportImages.length - 1">next</button>
</div>
</body>