Something like
<script id="tagTemplate" type="text/ng-template">
<div>
<span>{{$getDisplayText()}}</span>
<button ng-click='showDetails(data)'>More</button>
</div>
</script>
It just got implemented and now it's possible to do $scope.showDetails(data)
.