docs: function resourcesFunction(url, paramDefaults, actions, options) {
                  if (config.resourcesFunction == undefined) {
                      return $injector.get("$resource")(url, paramDefaults, actions, options);
                  } else {
                      return config.resourcesFunction(url, paramDefaults, actions, options);
                  }
              }