1
我取一个数据,在我的控制器此功能的微调:
var fetchStoreItems = function() {
return $http.get('/enterprises/_store').then(function (response) {
$scope.items = response.data;
}, function (errResponse) {
console.error("Error while fetching data")
})
};
这是工作的罚款和足够快。但是如果有很多物品要取?我想在数据被提取时加入微调。
我该怎么做?