2

就像是

<script id="tagTemplate" type="text/ng-template">
    <div>
        <span>{{$getDisplayText()}}</span>
        <button ng-click='showDetails(data)'>More</button>
    </div>
</script>
4

1 回答 1

0

它刚刚实施,现在可以做到$scope.showDetails(data)

于 2016-05-10T19:31:18.917 回答