0
のための関数を呼び出す
<div id="funds">
<table border="0" style="width:100%;">
<tbody>
<tr ng-repeat="parent in vm.fundList">
<td align="left" valign="top" colspan="6">
<span style="display:inline-block;background-color:#EBEBEB;font-family:Verdana;font-size:8pt;font-weight:bold;width:100%;">
<input ng-model="parent.ParentID" id='parent.ParentID' ng-click="vm.SelectAllFunds(parent.ParentID)" type="checkbox" >
<label>{{parent.ParentFundName}}</label>
</span>
</td>
<td align="left" valign="top">
<span style="display:inline-block;font-family:Verdana;font-size:8pt;width:100%;">
<input id="child + parent.ChildFund.ChildID" type="checkbox" value=" parent.ChildFund.ChildFundName" name=" parent.ChildFund.ChildFundName" ng-click="vm.checkFund(parent.ChildFund.ChildID)">
<label>{{parent.ChildFund.ChildFundName}} </label>
</span>
</td>
</tr>
</tbody>
</table>
</div>
NGクリックして、NG-変更は両方が、両方ともNGリピートを使用して動的に生成されているチェックボックスのために働いていませんみました。NGクリックして、NG-変更の両方ではないCHECKBOX
あなたはあなたが呼び出ししようとしている関数を定義して、コントローラのコードの一部を投稿することができますか?また、あなたの問題に影響するかどうかは確かではありませんが、入力ID属性が有効であることを確認していますか? – plong0
ここでうまく動作します:http://plnkr.co/edit/qy3MJYNbpmwv7npe4k8M?p=infoあなたのJSコードで何かが間違っているはずです。問題を再現したプランを投稿してください。 –