Sha256: f5bb120c798dafde970832c69edcbcd463cc8febef774e0e00d68a0d91ed4e8d
Contents?: true
Size: 591 Bytes
Versions: 32
Compression:
Stored size: 591 Bytes
Contents
!(angular => { 'use strict'; function QueryResource(ResourceFactory, QueryRequestTransformers) { return ResourceFactory.make('/queries/:id.json', {id: '@id'}, { update: { method: 'PUT', transformRequest: QueryRequestTransformers }, create: { method: 'POST', transformRequest: QueryRequestTransformers } } ); } QueryResource.$inject = ['ResourceFactory', 'QueryRequestTransformers']; angular.module('alephServices.queryResource', []).service('QueryResource', QueryResource); }(angular));
Version data entries
32 entries across 16 versions & 1 rubygems