摘要: 在angular的controller中有时候会使用到自定义的回调,比如异步请求的回调函数一般返回之后都需要更新页面的数据,即更新$scope.xx但是如果直接 $scope.xx = data.info这样根本不会有任何的影响解决方案this.callback = function (status... 阅读全文
posted @ 2014-07-02 15:06 兰斌 阅读(3177) 评论(0) 推荐(0) 编辑