angular-dc
angular-dc copied to clipboard
How do you use D3 dependency injection in angular-dc
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.