Add callback function when the chart is rendered

We can pass a callback function to the directive which is fired when the graph is rendered.
After this, it is possible to manipulate the svg (making d3 calls, ect...).