Angular directives for d3 based charts