我正在服务器上旋转图像,我想知道如何在我的页面上显示图像变化?我想我必须使用$scope.$apply()但每次我使用它时都会收到错误消息“正在进行摘要循环”模板.htmlController.jsphotoalbumServ.rotate_photo(post).then(function(data){//afterservermodifiesphoto$scope.tempimagefilepath=$scope.baseurl+"user_images/user_43/temp/123-temp.jpg";$scope.$apply();});谢谢解决方法:我的解决方案是更改范围