Skip to content

Instantly share code, notes, and snippets.

View dustinmyers's full-sized avatar

Dustin Myers dustinmyers

View GitHub Profile
angular.module('d3AngularApp', ['d3'])
.directive('d3Bars', ['$window', '$timeout', 'd3Service',
function($window, $timeout, d3Service) {
return {
restrict: 'A',
scope: {
data: '=',
label: '@',
onClick: '&'
},