我要分配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”,但不显示在文本框中。