It is not supported directly in the current version of AngularJS, but there is a transfer request , so it is likely that it will be supported in the near future.
Until then, you have 3 options:
1) Play with variables along the way:
$resource('/users/:names', {}, { names: { params: {names: 'names'}, method: 'GET', isArray: true } })
2) Use $ http service instead
3) Try to execute the code from the mentioned PR in the AngularJS file, supplemented by a monkey,
pkozlowski.opensource
source share