Angular directives for D3 charts