d3 bars using angular