preliminary attempt at angular with d3 for charts