Angular directive for Chartist.js