directive now drawing a chart using chart.js