diff --git a/js/directives/d3.js b/js/directives/d3.js index 5dbb1f2..d39268f 100644 --- a/js/directives/d3.js +++ b/js/directives/d3.js @@ -1,6 +1,6 @@ // D3 visualization // TODO: D3 as a service -panelApp.directive('batD3', function (d3) { +panelApp.directive('batD3', function () { return { restrict: 'E', terminal: true, diff --git a/js/services/d3.js b/js/services/d3.js deleted file mode 100644 index a9a0560..0000000 --- a/js/services/d3.js +++ /dev/null @@ -1,4 +0,0 @@ -panelApp.factory('d3', function() { - // TODO: how should I reference the d3 global? - return d3; -}); \ No newline at end of file diff --git a/panel.html b/panel.html index b8157d8..b1fa2d3 100644 --- a/panel.html +++ b/panel.html @@ -28,7 +28,6 @@ -