Currently, I am showcasing the contents of an array on a view using $scope.array
.
The array's content is loaded through a request to my server. However, exhibiting every element at once in the view is taking too long because $scope.array
has a large number of elements.
To improve the user experience, I want to display the array part by part. Initially, I thought that simply adding data chunk by chunk to $scope.array
would work, but it did not.
I realized that the current $digest
loop would only complete when my array was full. I attempted using the Async library to add chunks asynchronously to $scope
in hopes of bypassing the $digest
issue, but it was unsuccessful.
Now, I am struggling to find a solution for properly displaying the data. If you have any insights or experiences with similar issues, I would greatly appreciate hearing about them!
Thank you very much.