Skip to content

Instantly share code, notes, and snippets.

@jordan112
Created June 12, 2015 18:29
Show Gist options
  • Save jordan112/c15fbacefac46fbe2ff2 to your computer and use it in GitHub Desktop.
Save jordan112/c15fbacefac46fbe2ff2 to your computer and use it in GitHub Desktop.
function getList(parms) {
var defaultParams = { endpoint: '', params: {}, doCache: true, doLog: true, capitalizeIdString: false, firstLetterCapitalize: true, api: restangular };
parms = _.extend(defaultParams, parms);
return baseService.getList(endpoint, _utils.getParsedODataFilter(parms.params, parms.capitalizeIdString, parms.firstLetterCapitalize), parms.doCache, parms.doLog, parms.api);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment