NPM package for Angular.js $resource (ng-resource)