Angularjs 我可以在Angular.js中使用DWR函数吗?

Angularjs 我可以在Angular.js中使用DWR函数吗?,angularjs,dwr,Angularjs,Dwr,我的团队成员熟悉java和DWR,我想在前端使用angular.js。因此,我的问题是,这两种方法是否会很好地发挥作用?谢谢。是的,可以让它们工作 检查其中一个讨论的问题 我也会很感兴趣的。有消息吗?谢谢 function mainCtrl($scope) { $scope.mymodel = "x"; // this is ok DWRService.searchForSomething(function(result){ $scope.mymode

我的团队成员熟悉
java
DWR
,我想在前端使用
angular.js
。因此,我的问题是,这两种方法是否会很好地发挥作用?谢谢。

是的,可以让它们工作

检查其中一个讨论的问题


我也会很感兴趣的。有消息吗?谢谢
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.
}