I'm new to AngularJS
, I'm using
<div class="imageslide" ng-switch='slideshow' ng-animate="'animate'">
<div ng-repeat="img in images">
<div class="slider-content" ng-switch-when='$index'>
<!-- <p>Slider's are amazing1!</p> -->
<img ng-src="{{img.image_thumb}}">
</div>
</div>
</div>
When I'm using ng-switch-when='1'
it is working but, I'm trying to ng-switch-when
works dynamic with the index if current loop element.
Please help!