Implemented support for labels on d3 directive