Skip to content

Instantly share code, notes, and snippets.

View ggoodman's full-sized avatar

Geoff Goodman ggoodman

View GitHub Profile
@ggoodman
ggoodman / components.json
Created October 29, 2012 22:14
component.json scraped from Bower repository
{
"yepnope": {
"name": "yepnope",
"version": "1.5.4",
"main": "./yepnope.1.5.4-min.js"
},
"stitch-css": {
"name": "stitch-css",
"version": "0.1.7",
"main": "./stylesheets/_stitch.scss"
var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
});
@ggoodman
ggoodman / app.js
Last active May 2, 2016 18:06 — forked from ggoodman/app.js
AngularJS unstable template
var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
});
@ggoodman
ggoodman / app.coffee
Last active October 10, 2015 08:28 — forked from ggoodman/app.coffee
AngularJS unstable + Coffee
app = angular.module('plunker', [])
app.controller 'MainCtrl', ($scope) ->
$scope.name = 'World'
app = angular.module('plunker', [])
app.controller 'MainCtrl', ($scope) ->
$scope.name = 'World'
angular.bootstrap(document, ['plunker'])
var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
});
@ggoodman
ggoodman / app.js
Last active October 9, 2015 12:58 — forked from vojtajina/app.js
AngularJS template
var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
});
@ggoodman
ggoodman / index.html
Created August 29, 2012 10:31 — forked from derek/index.html
Plunker YUI template
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- The YUI CSS Reset. Optional -->
<!-- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.4.1/build/cssreset/cssreset-min.css"> -->
<link rel="stylesheet" href="style.css">
<!-- Load the YUI seed file. http://yuim.in/ always loads the latest version -->
@ggoodman
ggoodman / app.coffee
Last active October 7, 2015 15:57 — forked from vojtajina/app.js
AngularJS + Coffee
app = angular.module('plunker', [])
app.controller 'MainCtrl', ($scope) ->
$scope.name = 'World'
@ggoodman
ggoodman / README.md
Created July 24, 2012 21:57
Reacting to additions/deletions/changes to keys and their values in Angular.js

How can I react to additions and deletions of keys in a scope object as well as to changes to sub values?

The scratch

The new version of plunker has the concept of a scratch. The scratch is the current state of the editor that can periodically be saved as a plunk. The scratch is structured as follows:

{
  files: {
 "index.html": {