<tbody id="table">
<tr data-ng-repeat="consulting in consultingsVm.consultings">
<td>
<a href="" class="mode mode--edit"
data-ng-click="isModeEdit = !isModeEdit"
data-ng-if="!isModeEdit"><span
class="mode__item">{{consulting.description}}</span><i
class="mode__icon icon-mode_edit"></i></a>
<div data-ng-if="isModeEdit">
<input type="text" class="input input--edit" data-ng-model="consulting.description">
<a href="" class="button button--rounded"
data-ng-click="consultingsVm.update(consulting)"><i
class="icon-check text--green"></i></a>
<a href="" class="button button--rounded" data-ng-click="isModeEdit = false"><i
class="icon-arrow_forward"></i></a>
</div>
</td>
<td class="text--right">
<a href="" class="button button--delete"
data-ng-click="consultingsVm.deleteConsulting(consulting)">Delete</a>
</td>
</tr>
</tbody>
我想为consultingsVm.consultings 中的每个咨询定义变量isModeEdit。我怎样才能做到这一点?