How to handle large ng-repeat collections in AngularJS?
I am thinking about canceling the boot process after the user decides to switch to another controller.
To display images, I use:
<ul class="thumbnails"> <li ng-repeat="photo in photosFound.data track by $index" > <a prettyp class="thumbnail" ng-href="{{domain}}/{{photo.thumb}}" rel="prettyPhoto[main]"> <img class="group1" ng-src="{{domain}}/{{photo.image}}" /> </a> </li> </ul>
Is there a way to cancel the download of all 150 images after the user decides to change the controller in which they are located?
source share