made d3 working with angular finally