Currently creating an angular application that allows users to generate and share digital books with a subdomain link like mycoolbook.theappsite.com.
However, I've set up the routes so that editing books are at the URL "mycoolbook.theappsite.com/settings."
As it's an angular page, I'm facing hard redirects between these pages, missing out on the single-page application benefits. Is there a way to maintain the app instance running across these pages?
If not, I'm considering moving all admin pages back to a URL like "theappsite.com/book/mycoolbook/settings" instead. Is this feasible?
I've already addressed sessions and AJAX requests working across domains, but it's the state linking that poses a challenge.