adding visualization using d3 and angularjs