Skip to content

Instantly share code, notes, and snippets.

@Clokze
Created December 4, 2013 14:39
Show Gist options
  • Select an option

  • Save Clokze/7788478 to your computer and use it in GitHub Desktop.

Select an option

Save Clokze/7788478 to your computer and use it in GitHub Desktop.
JSFiddle stuff
<!DOCTYPE html>
<html>
<head>
<title>foo</title>
<style>
textarea {
width: 100%;
height: 300px;
}
</style>
</head>
<body>
<form method="POST" action="http://jsfiddle.net/api/post/library/pure/" target="_blank">
<input type="hidden" name="resources" value="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular.min.js">
<textarea name="html">
<div ng-app="helloApp">
<ul ng-controller="HelloController">
<li ng-repeat="framework in frameworks">{{framework}}</li>
</ul>
</div>
</textarea><br>
<textarea name="js">
var app = angular.module('helloApp', []);
app.controller('HelloController', function ($scope) {
$scope.frameworks = ['AngularJS', 'EmberJS', 'Backbone.js'];
});
</textarea><br>
<textarea name="css"></textarea><br>
<input type="text" name="title" value="foo example"><br>
<input type="Submit" value="Submit">
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment