Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $scope.offer = [];
- angular.forEach($scope.details, function (product) {
- SomeAPI.ById.query({ product: product.id }, function (response) {
- $scope.offer.push(response);
- });
- return $scope.offer;
- });
- console.log($scope.offer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement