Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval(function(){
- $http.get('/some/api').then(function(dataArray){
- dataArray.forEach(function(element){
- setInterval(function(){
- console.log(element);
- },1000)
- });
- })
- },5000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement