AngularJS - “Select All” items that are currently visible
问题 I am currently trying to figure out the best way to select all items in a list that are currently visible. I currently have a large list of items in my scope that has paging applied to it so only a few items of this list are visible at a time. I have a "Select All" button where the desired behavior is to have it select all the items that are currently visible - not all the items in the list. I think I can achieve it by using the ng-init directive to add visible items to a list in the