C3 Chart AngularJS Directive