これが私のコードです:
function MainCtrl($scope) {
$scope.thisarray = globalObj;
$scope.loadthis = function (index) {
return thisarray[index];
}
}
マークアップは次のとおりです。
<table ng-controller="MainCtrl">
<tr>
<td ng-repeat="element in thisarray">
{{loadthis($index)}}
</td>
</tr>
</table>
コールバックを介していくつかのデータをロードしていSOAP
ます:
SOAPCLient.invoke(url, methodName, pl, true, function(obj) {globalObj = obj;
**angular.bootstrap("html");**//here is where I try to reinitialize the app
});
SOAP
呼び出しを見るとbootstrap
、アプリを再初期化するために使用していますが、機能していません。loadthis
HTML テーブル内のデータは表示されません。誰でもここで私を助けることができますか?