1
我有看法寫在angular1伍,包括angular2模擬爲HTML插入
<script type="text/ng-template" id="table_item_renderer.html">
...
<div layout="column" flex ng-repeat="data in data.nodes" ng-include="'table_item_renderer.html'"></div>
...
</script>
<div >
...
<div layout="column" flex ng-repeat="data in data.nodes" ng-include="'table_item_renderer.html'" ></div>
...
</div>
我如何能實現這包括邏輯到angular2我的HTML代碼?
https://github.com/angular/angular/issues/2753 –