renamed ctrl. added directive requiring d3 (test)