text: 'use strict';
  
  //Cupones service used for communicating with the cupones REST endpoints
  angular.module('cupones').factory('Cupones', ['$resource',
    function ($resource) {
      return $resource('api/cupones/:cuponId', {
        cuponId: '@_id'
      }, {
        update: {
          method: 'PUT'
        }
      });
    }
  ]);
  