Experimentation with the D3 API and angular