Example of using NVD3.js within an AngularJS app