Medium
f = function(item) {
return $http({
url : 'api/route',
method : 'POST',
data : item.data
});
};
g = function(items) {
x = items.map(f(item));
return $q.all(x);
};
Select the correct assertions in the list :
Author: Mathieu RobinStatus: PublishedQuestion passed 85 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
1
How to get all the values of an array in AngularJS1
A way to modify the native behavior of a service1
The server that serves my static files can be different from the one that serves the API1
What is the value of the expression `promise.then(null, function() {})` if `promise` is rejected with an error?0
What are the 5 main building blocks of AngularJS?1
How to access the parent scope in AngularJS1
Add an entry to the browser history