<div ng-controller="Umbraco.PrevalueEditors.ImageFilePickerController" class="umb-property-editor umb-mediapicker">

    <ul class="umb-sortable-thumbnails" ng-if="model.value">
        <li class="umb-sortable-thumbnails__wrapper">
            <img ng-src="{{model.value}}" alt="">

            <div class="umb-sortable-thumbnails__actions">
                <!--<a class="umb-sortable-thumbnails__action" href="" ng-click="goToItem(image)">
                    <i class="icon icon-edit"></i>
                </a>-->
                <a class="umb-sortable-thumbnails__action -red" href="" ng-click="remove()">
                    <i class="icon icon-delete"></i>
                </a>
            </div>
        </li>
    </ul>

    <a href="#" class="add-link" ng-click="add()" ng-class="{'add-link-square': !model.value }" ng-hide="model.value" prevent-default>
        <i class="icon icon-add large"></i>
    </a>

</div>
