Skip to content

Instantly share code, notes, and snippets.

@robu3
robu3 / myRepeater.js
Last active August 29, 2015 14:05
Custom version of the ng-repeat directive, for learning purposes
// Implement our own "repeater" directive
// Note that Angular implicitly converts camelCase to dash-separated values, e.g.,
// myRepeater => my-repeater
app.directive("myRepeater", function () {
var directive = {
restrict: "A",
transclude: "element",
priority: 1000,
terminal: true,
@robu3
robu3 / index.html
Created August 2, 2013 17:07
Jawbone Up Spiral Visualization
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
body {
font-family: sans-serif;
}