<div ng-if="ctrl.contact.failedProps.indexOf('photo') !== -1" class="icon-error"></div>
<img ng-show="contact.photo()!==undefined" class="contactdetails__logo avatar" id="contact-avatar" data-ng-src="{{contact.photo()}}" ng-click="ctrl.openPhoto()" />
<div class="avatar-options">
	<input type="file" id="avatar-upload" class="hidden"/>
	<label for="avatar-upload" class="icon-upload-white"></label>
	<div class="icon-delete-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.removePhoto()"></div>
	<div class="icon-fullscreen-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.openPhoto()"></div>
	<div class="icon-download-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.downloadPhoto()"></div>
</div>
