A mixture of d3 and angularjs