I tried to add a prefix $ for all Restangular methods by setting restangularFields, as suggested here (#675 (comment)).
Unfortunately, Restangular.service does not work any more after that, an error occurs instead:
Uncaught TypeError: Expected a function(…)
...
Restangular.all('editor')
The problem due to this seems to be, collection.post and collection.getList are hard coded in function toService, which in my case are changed to collection.$post and collection.$getList.
I tried to add a prefix
$for all Restangular methods by settingrestangularFields, as suggested here (#675 (comment)).Unfortunately,
Restangular.servicedoes not work any more after that, an error occurs instead:The problem due to this seems to be,
collection.postandcollection.getListare hard coded infunction toService, which in my case are changed tocollection.$postandcollection.$getList.