I discovered Restangular a month ago and I really enjoy using it.
Nevertheless, I feel like something is missing in the way I use it.
For instance, each time I put a resource, I want to update the resource with the API response. If I upload an image, I send the JS File object in the resource and on the API response update that resource with the response url.
How can I have this behaviour for any Restangular instance without adding the same boilerplate code ?
Hello everyone,
I discovered Restangular a month ago and I really enjoy using it. Nevertheless, I feel like something is missing in the way I use it.
For instance, each time I put a resource, I want to update the resource with the API response. If I upload an image, I send the JS File object in the resource and on the API response update that resource with the response url. How can I have this behaviour for any Restangular instance without adding the same boilerplate code ?
Thank you !