client/app/slideshow/slideshow.html
changeset 2 36ccc573af9a
parent 1 74bbdd739878
child 6 4be9f21f2df1
--- a/client/app/slideshow/slideshow.html	Thu Oct 02 13:24:57 2014 +0200
+++ b/client/app/slideshow/slideshow.html	Fri Oct 03 10:38:50 2014 +0200
@@ -2,7 +2,7 @@
 <p>{{ slideshow.description }}</p>
 <div class="carousel-holder row">
   <carousel>
-    <slide ng-repeat="slide in slideshow.images" active="slide.active" ng-init="slide.active = (iSlide==$index)">
+    <slide ng-repeat="slide in slideshow.images" active="slide.active">
         <div class="row">
           <div class="col-md-7 col-md-offset-1">
             <img ng-src="{{slide.url}}" style="margin:auto;">