<button ng-if="$ctrl.visible" type="button" 
    class="btn btn-default" 
    uib-tooltip="{{$ctrl.tooltip}}"
    ng-click="$ctrl.showimagesfunction()"
>{{'jsp.character.thumbnail.images.title' | translate}}</button>