A class for working with collections of AngularJS resources