adding chartJs directive