No autoresizing to fit the code
Render blocking of the parent page
Apply local draft version or discard it
Auto-close HTML tags
Show line numbers
Enable line wrapping
Indent with tabs
Here’s a simple directive in AngularJS, this directive uses a template. The template is complex html that we’ll want to reuse. The directive will allow this complex html to be delivered anywhere without copying and pasting the code. This obviously has advantages in terms of code reuse and maintainability. I.e. To change the complex html used in multiple places, we actually only need to change it in one place.
Add title to make the fiddle public.
/echo simulates AJAX 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.
Status page by updown.io
Keep us running by whitelisting JSFiddle in your ad blocker.
We're serving quality, tech-related ads only.