3,764 questions
2 votes
1 answer
142 views
angular 20 children routes seems not loaded at all when lazy load of component enabled
I have main route: { path: 'signup', loadComponent: () => import('./signup/signup.component').then(m => m.SignUpComponent), children: signUpRoutes }, and inside signUpRoutes I ...
3 votes
1 answer
254 views
Angular 17 Module to Standalone Conversion. How should I setup main.ts or app.config.ts?
I'm trying to change my Angular 17 project to be a standalone project. But some of the fundamental files are different than how they are defined in tutorials and other people's projects. I didn't have ...
1 vote
1 answer
212 views
Angular Library Routing Not Working When Used Inside Angular 19 App
I'm working on an Angular 19 app that uses a custom Angular library, and I'm having trouble getting the routing inside the library to work properly. The app is a legacy app and all the components are ...
1 vote
1 answer
81 views
Angular routing - avoid showing two components in router outlet at the same time during enter and leave animations
The problem us basically explained in the title. I have router-outlet and components with :enter and :leave animations. During navigating from one to another both components are in outlet at the same ...
0 votes
2 answers
78 views
How to use a secondary router outlet without ng modules correctly to enable page reload by url?
How to use a secondary router outlet without ng modules correctly enabling page reload by url? I have an app component with a router: <main> <router-outlet></router-outlet> &...
0 votes
1 answer
61 views
Angular dynamic component loading through a config file
I have a question about angular dynamic component loading through an environment config file. Below is a sample of my environment file: routes: [ { name: 'auth/logout', path: '../../...
2 votes
1 answer
50 views
Cannot match children routes of blank path
I have this configuration in my routing in Angular: ... { path: 'account', canActivate: [AuthGuardService], children: [ { path: '', ...
0 votes
0 answers
185 views
Angular 19 + ngx-translate-router: Language not detected from URL, always redirects to /en
Problem I am using Angular 19 with ngx-translate-router to handle localized routes. However, my app always redirects to /en on startup, even when a different language is present in the URL. For ...