6 // Demonstrate how to register services
7 // In this case it is a simple value service.
8 angular.module('myApp.services', [ 'ngResource' ]).
9 value('version', '0.1').
11 factory('Registration', function($resource){
12 return $resource('/data/:database/registration/:regustraionId', { database: 'drzb2013' }, {
13 query: {method:'GET', params:{registraionId:'@id'}, isArray:true}