Simple line chart made with d3.js and AngularUI Bootstrap