AngularJS Restful Resource extension for ngResource