controllers, services and d3 directives