Trying to integrate d3 and angular.