Angular JS Directive for Nvd3 JS Discrete Bar Chart