Switching to angularjs-nvd3-directives.