
<a href="#/slide/{{slide.id}}"><img ng-src="{{ slide.details.images[0] }}" my-customer /></a>
<div class="gallery-buttons">
    <a ng-click="slide.toggleFavorite()"><span ng-class="{'glyphicon-star': slide.favorite, 'glyphicon-star-empty': !slide.favorite}" class="glyphicon"></span></a>
    <a ng-click="slide.addToBook();"><span class="glyphicon glyphicon-plus"></span></a>
    <a ng-show="editable" class="pull-right" ng-click="slide.remove(book.slides)"><span class="glyphicon glyphicon-trash"></span></a>
</div>
<a href="#/slide/{{slide.id}}"><p>{{ slide.details.title }}</p></a>