Skip to content

Instantly share code, notes, and snippets.

View dustinmyers's full-sized avatar
🐧
Chillin

Dustin Myers dustinmyers

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