DWR コールバックで「モデル」を変更しようとすると問題が発生します。
function mainCtrl($scope) {
$scope.mymodel = "x"; // this is ok
DWRService.searchForSomething(function(result){
$scope.mymodel = result; // PROBLEM!!! it does not rerender the new value
}
$scope.mymodel = "y"; // this is also ok.
}
誰にもアイデアはありますか?