Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. $http.get(api6).then(function(response) {
  2. $http.get(myApi).then(function(response2) {
  3. response2.data.forEach(function(item) {
  4. money = item.money;
  5. console.log(money);
  6. });
  7.  
  8. response.data.Results.map(function(elem) {
  9. if (contador < 9) {
  10. marcas = elem.Make_Name;
  11. contador++;
  12. lAux.push({ "marcas": marcas, "money": money });
  13. }
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement