我要分配NG-INIT值= d.id + d.concept_class像NG-INIT = 「m_concept_class = 12 ABC」如何設置組合值到NG-INIT
<div ng-repeat="d in data">
<input type="text" ng-model="m_concept_class"
ng-init="m_concept_class={{d.id; d.concept_class}}" >
</div>
當我使用此語法 ng-init="m_concept_class={{d.id}} {{d.concept_class}}"
我可以在瀏覽器的檢查元素功能中看到數據「12 abc」,但不顯示在文本框中。