text: (function() {
      'use strict';
  
      angular
          .module('httpDemoApp')
          .factory('AuditsService', AuditsService);
  
      AuditsService.$inject = ['$resource'];
  
      function AuditsService ($resource) {
          var service = $resource('management/jhipster/audits/:id', {}, {
              'get': {
                  method: 'GET',
                  isArray: true
              },
              'query': {
                  method: 'GET',
                  isArray: true,
                  params: {fromDate: null, toDate: null}
              }
          });
  
          return service;
      }
  })();
  