I have a single factory defined with ngResource:
App.factory(\'Account\', function($resource) { return $resource(\'url\', {}, { query: { method:
I think a better solution is:
$q.all([ Account.query({ type: 'billing' }).$promise, Account.query({ type: 'shipping' }).$promise ]).then(function(data) { var billingAccounts = data[0]; var shippingAccounts = data[1]; //TODO: something... });