AngularJS D3.js charting using NVD3.js