Trying d3 with angular directives