```coffeescript
angular.module 'frontendAdmin'
  .factory 'MnoeApiSvc', ($log, Restangular, inflector) ->
    return Restangular.withConfig((RestangularProvider) ->
      RestangularProvider.setBaseUrl('/mnoe/jpi/v1')
      RestangularProvider.setDefaultHeaders({Accept: "application/json"})

      # Unwrap api response
      RestangularProvider.addResponseInterceptor(
        (data, operation, what, url, response, deferred) ->
          extractedData = null
          if (operation == 'getList')
            extractedData = data[what]
          else if (operation == 'put' || operation == 'post')
            what = inflector.singularize(what)
            extractedData = data[what]
          else
            extractedData = data
          return extractedData
      )
    )
```

Change module declaration on MnoeApiSvc
user
```coffeescript
@App.factory 'MnoeApiSvc', ($log, Restangular, inflector) ->
  return Restangular.withConfig((RestangularProvider) ->
    RestangularProvider.setBaseUrl('/mnoe/jpi/v1')
    RestangularProvider.setDefaultHeaders({Accept: "application/json"})

    # Unwrap api response
    RestangularProvider.addResponseInterceptor(
      (data, operation, what, url, response, deferred) ->
        extractedData = null
        if (operation == 'getList')
          extractedData = data[what]
        else if (operation == 'put' || operation == 'post')
          what = inflector.singularize(what)
          extractedData = data[what]
        else
          extractedData = data
        return extractedData
    )
  )
```
assistant