I have a data set that I need to loop though and alter. it can take sometime and I have a little spinner running on the site. when I hit the loop it blocks the process. I would like to see if I can use $q to fix this. I can use $q with http calls and that seem to work fine.
angular.forEach(data, function (d) {
d.name = "..." + d.name;
})
return data
is $ string the right way to do this? is there a better way? Thanks Danny