Callback after to render all the ion-slides inside ion-slide-box


I am using the ion-slide-box to render graphs of nvd3-angular library.

After to complete the process I need to execute an refresh event like this below (If I not, the graphs are not showed):
var ev = document.createEvent(‘Event’);
ev.initEvent(‘resize’, true, true);

I need to trigger this callback above after Ionic process all graphs.

How can I achieve it?