added chart js directive support