resolve d3 in $timeout(), avoids problems with $apply() during active $digest()
resolve d3 in $timeout(), avoids problems with $apply() during active $digest()

mrakitin/sirepo,mkeilman/sirepo,radiasoft/sirepo,mkeilman/sirepo,mrakitin/sirepo,radiasoft/sirepo,mrakitin/sirepo,mkeilman/sirepo,mkeilman/sirepo,mrakitin/sirepo,radiasoft/sirepo,radiasoft/sirepo,radiasoft/sirepo