$http.get("/vote/list", {params: {id: id}}) .success(function (data) {
$scope.Vote = data;
}).error(function () {
});
myapp.directive('onFinishRenderFilters', function ($timeout) { return {
restrict: "A",
link: function (scope, elment) { /**这里如何拿到控制器中$scope.Vote**/
}
}
});
添加回答
举报
0/150
提交
取消