angular-dc icon indicating copy to clipboard operation
angular-dc copied to clipboard

How do you use D3 dependency injection in angular-dc

Open idanb11 opened this issue 8 years ago • 0 comments

Hi @TomNeyland ,

Using d3 with AngularJS dependency injection is highly recommend -

d3Service.d3().then(function(d3) {
  // d3 is the raw d3 object
});

So I wonder how do I make it work with a d3Service instead of directly with the d3 instance.

Thanks.

idanb11 avatar Mar 24 '17 09:03 idanb11