running the callback that does dom manipulation in a  call, so that it plays nicely with the angular lifecycle, as per the documentation: https://docs.angularjs.org/error//inprog
bumping the version number to 0.3.3 for the improved compatibility with the angular lifecycle