data from controller fpr d3 directive