Skip to content

Instantly share code, notes, and snippets.

@mhevery
Created January 10, 2012 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhevery/1590590 to your computer and use it in GitHub Desktop.
Save mhevery/1590590 to your computer and use it in GitHub Desktop.
Demonstration of jsFiddle resource bug
<html>
<body>
<form class="jsfiddle" method="post" action="http://jsfiddle.net/api/post/library/pure/" target="_blank">
<textarea name="resources">http://code.angularjs.org/angular-0.10.5.min.js</textarea>
<textarea name="css"></textarea>
<input type="text" name="title" value="AngularJS Live Example">
<textarea name="html">&lt;div ng:app&gt;
&lt;div ng:controller="HelloCntl"&gt;
Your name: &lt;input type="text" ng:model="name" value="World"/&gt;
&lt;hr/&gt;
Hello {{name}}!
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;angular.compile(window.document)().$digest()&lt;/script&gt;</textarea>
<textarea name="js">function HelloCntl() {
this.name = 'World';
}</textarea>
<button>edit at jsFiddle</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment