My angular site works great, but when you click into a project it loads the page, right away and sometimes there is a flash while the images are pu
click
flash
You can implement CanDeactivate interface, something like this:
routerCanDeactivate(currTree?: RouteTree, futureTree?: RouteTree): Promise <boolean> { return new Promise((resolve, reject) => { setTimeout(() => resolve(true), 1000); }) }