angularjs - Need help in ng-repeat -
i want repeat slides in sliderone
have added filter below.
<div ng-repeat="slider in sliderdata " > <div ng-repeat="slide in slider | filter : sliderdata" >1</div> </div>
i not getting going wrong. slides getting repeated.
try this
<div ng-repeat="slider in sliderdata[selectedslider]" > {{slider}} </div>
see plunker: http://plnkr.co/edit/v6upuvdhoutqcwdctljj?p=preview
Comments
Post a Comment