need an queue to process data asynchronously implementing angular queue.