JSHint barchart-directive