<div class="img-select">
    <a href="javascript:;" data-ng-click="selectImage()"><img class="img-preview" data-ng-src="{{ getImgUrl() }}" alt="" /></a>
    <a href="javascript:;" class="btn red delete" data-ng-click="clearImage()">x</a>
    <input type="hidden" />
</div>