Apply local draft version or discard it
Indent with tabs
Auto-run code (beta)
Only auto-run code that validates
Auto-save code (bumps the version)
Auto-close HTML tags
Clear console on run
Live code validation
Highlight matching tags
Show boilerplates bar less often
No autoresizing to fit the code
Render blocking of the parent page
When using the $resource factory to access RESTful APIs it might by necessary to consume resources, that do not return the data as expected by $resource, this is often the case for server-side pagination, where the result is usually not a plain array but an object that contains the result as well as additional metadata such as a total count, page size, etc...
This fiddle demonstrates how to circumvent the limitations of $resource as of version 1.2.12 to enable you to consume data with any structure and pass through any metadata while retaining all the behavior provided by $resource.
Add title to make the fiddle public.
/echo simulates Async calls:
See docs for more info.
Created and maintained by Piotr and @oskar.
Hosted on DigitalOcean
All code belongs to the poster and no license is enforced.
JSFiddle or its authors are not responsible or liable for any loss or damage of any kind during the usage of provided code.
Roadmap (vote for features)
Status page by updown.io
If you don't mind tech-related ads, and want to keep us running, whitelist JSFiddle in your ad blocker.
Thank you! ❤️