updates to integrate d3 with angular