1
我想從控制器調用此服務。我怎樣才能綁定「customVariable」數據?
app.factory('TagSrv', ['$resource', function($resource){
return $resource(apiUrl+'api/tags/delete', {}, {
"delete" : {
method:'DELETE',
data: [customVariable]
}
});
}]);
你說的數據綁定變量是什麼意思? –