Angular handling/detecting browser back button navigation
I have written code to handle browser navigation using the router, but I’m experiencing an issue where navigation is already happening before my custom confirmation dialog opens. Can anyone suggest a solution to stay on same page?”
Angular Migrating RouterModule to ProvideRouter (standalone approach)
I am trying to migrate my angular app to standalone approach, everything is expected except some routing issues
Module not found: Error: Can’t resolve ‘angular’ in ‘UXnode_modules@uirouterangularjslib-esm’
Since Angular 1.8.3 now has a vulnerability, we attempted to remove it from our project’s package.json. However, due to a dependency on AngularJS in uirouter/angular-hybrid, removing AngularJS caused an error during the build process. To address this, we replaced uirouter/angular-hybrid with uirouter/angular and updated the related imports from UIRouterUpgradeModule to UIRouterModule from the uirouter/angular package. Our codebase was migrated to Angular 8 some time ago, but given its size, we are uncertain if there are any remaining references to AngularJS. Does this approach seem correct? If not, what alternative steps should we consider?