I have a web app that was partly migrated from PHP and angular-js to angular(currently v13)
after a successful login, there's a redirection to other pages.
since my login page is angular-based, I'd like to use angular routing to redirect to pages that are angular-based and are working under the router-outlet. And redirect using window.location for old pages (e.g PHP).
The url to redirect to is dynamic. Is there a way that I can determine if the url is part of the angular application and can be navigated to using the router?
router-outlet. Now if you have a fallback 404 page for all remaining URLs, then in this 404 page you can redirect to your old pages utilizingwindow.location.window.location?