AngularJS D3 Directives