Angular D3 module to load D3 library in Angular controllers.
Inspired by Angular-underscore-module
*** Currently this Bower module is unregisterd. bower install angular-d3-module
does NOT work. You can manulally add it to your project though. ***
<script src="bower_components/d3/d3.js">
bower install angular-d3-module
<script src="bower_components/angular-d3-module/angular-d3-module.js"></script>
angular.module('myApp', ['d3'])
angular.module('myApp')
.controller('ChartCtrl', [
'$scope',
'd3',
function ($scope, d3) {
//code using d3 comes here
}
]);