Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
2 votes
1 answer
130 views

I have main route: { path: 'signup', loadComponent: () => import('./signup/signup.component').then(m => m.SignUpComponent), children: signUpRoutes }, and inside signUpRoutes I ...
A. Gladkiy's user avatar
  • 3,502
1 vote
0 answers
78 views

The url: http://www.example.com/#/orders/new/today/3640963 shows me the 'new tab', with the order details view open. This is when I click to it in the app. If I copy that URL and paste it in a new ...
Pepper's user avatar
  • 729
3 votes
1 answer
252 views

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 ...
Rand Ashley's user avatar
2 votes
1 answer
106 views

By default, the login page opens if the user is logged out. The onLogin method works fine the first time and navigates to the home page. On logout, it navigates back to the login page. If I try to log ...
kumarp's user avatar
  • 23
1 vote
1 answer
211 views

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 ...
Kedar Marathe's user avatar
1 vote
2 answers
133 views

In my Angular application, users can configure settings on a particular page (e.g., filters, view preferences, etc.). When the user navigates to another route and then returns to the original page, I ...
Ruchita Deshmukh's user avatar
1 vote
1 answer
81 views

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 ...
Michał B's user avatar
  • 555
2 votes
1 answer
66 views

I am getting this error from router-outlet directive. Can anyone please help me why it is occuring as i have no clue. All the imports have been added on app.module.ts file but still its saying that ...
Cortex's user avatar
  • 49
0 votes
2 answers
78 views

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> &...
tobias hassebrock's user avatar
5 votes
2 answers
2k views

I try to build Angular 19 SSR using ng build --configuration production --aot but get the following error: [ERROR] The 'detail/:id' route uses prerendering and includes parameters, but '...
Menahem Gil's user avatar
0 votes
1 answer
61 views

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: '../../...
Damian's user avatar
  • 304
1 vote
1 answer
50 views

I use in my app the Material Sidebar and navigate with the router. Basically it looks like <mat-sidenav-container [hasBackdrop]="true" autosize> <mat-sidenav (opened)=&...
LeO's user avatar
  • 5,401
2 votes
1 answer
50 views

I have this configuration in my routing in Angular: ... { path: 'account', canActivate: [AuthGuardService], children: [ { path: '', ...
Michał B's user avatar
  • 555
1 vote
1 answer
62 views

I am currently attempting to learn Angular and am using an existing API as a back-end. One of the types of pages is a dynamic news page following the traditional news/news-item-slug pattern. I am ...
Username_null's user avatar
0 votes
0 answers
183 views

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 ...
Sergej's user avatar
  • 2,264
1 vote
0 answers
221 views

Somehow, the live reload (when any code is changed) causes routing issues. I've spent couple of hours investigating this, however couldn't understand what is going on. Here is what happens: When I ...
Semen Shekhovtsov's user avatar
1 vote
1 answer
58 views

I have an Angular 19 app, and I've added the route transition animations. Docs for that are here: https://angular.dev/guide/animations/route-animations In my application bootstrap, I have this: ...
Chris Barr's user avatar
  • 34.6k
0 votes
0 answers
54 views

I my project I'm using map as main element, placed in app.component.html: <div #gmap style="width: 100%;height: 100%;"></div> In app.component.ts @ViewChild('gmap', {static: ...
Michał B's user avatar
  • 555
0 votes
0 answers
42 views

The official documentation has provided a way to handle the "slash" symbol in product names, by using a PRODUCT_NORMALIZER. https://sap.github.io/spartacus-docs/adding-and-customizing-routes/...
Terry Windwalker's user avatar
0 votes
0 answers
208 views

I'm hosting multiple Angular applications on a Windows machine using nginx. I have a landing page (index.html) that lets me choose between two Angular projects—protocolviewer and conficviewer—which ...
Datenpaket's user avatar
1 vote
1 answer
74 views

I am getting NullInjectorError error in brand new angular app. I have just generated this app as a standalone angular app (ng new StandaloneApp). In the AppComponent's constructor I have added ...
janci's user avatar
  • 519
1 vote
1 answer
816 views

Why is this routing config not working? The router is trying to go /posts but it should not go to /posts. Currently it is showing a blank page. BlankComponentComponent contains router-outlet and ...
Indraraj26's user avatar
  • 1,994
0 votes
1 answer
86 views

So, I have been practicing Angular during these days, and I encountered this issue while implementing lazy loading. My video doesn't load; if it does, it is not muted, and after refreshing the webpage,...
Miguel G.'s user avatar
2 votes
0 answers
137 views

I have enabled view transitions using the withViewTransitions() function in provideRouter(). Now I like to write a directive or something to be able to disable the transition view for a specific <...
Ali's user avatar
  • 1,472
1 vote
1 answer
66 views

I'm trying to set some state in our NgRx Store for specific pages (I'll cause these POI - "page of interest"). If not one of those pages, I would like to set the Store to a default value. We ...
MageWind's user avatar
  • 851
1 vote
1 answer
52 views

I want to do a login page with password reset page. In the page, only a tiny part of the page will change when i click on "reset password" so the view will be like this : Login page: <div ...
A G's user avatar
  • 112
0 votes
0 answers
214 views

I'm working with Angular and have implemented a NavigationService to handle routing/navigation in my app. However, i’m experiencing an issue where the navigation does not occur on the first click. I ...
zicoooo's user avatar
0 votes
1 answer
107 views

I have a test Angular18 website hosted on Github Pages. I have an About page that works perfectly on my localhost, but came back as 404 not found. I created a 404.html file as suggested in many posts, ...
hoshijun's user avatar
1 vote
1 answer
192 views

In the following canActivate function, I need to get the number of Items in a cart. I inject the CartService for this purpose but am getting an error that inject() must be called from an injection ...
koque's user avatar
  • 2,306
1 vote
0 answers
46 views

I'm working on an Angular project where I display a list of tables at the top of the page. When I click on a table name, I use Angular's HttpClient and ActivatedRoute to fetch the selected table's ...
Newbie's user avatar
  • 11
1 vote
1 answer
49 views

I want a route structure like this: If I go to the "/sale" route: dashboard feature sale If I go to the "/" route: dashboard That is, if the child route is not activated, ...
Ersin's user avatar
  • 21
2 votes
3 answers
129 views

I have the following code that works fine: let urlParameters = combineLatest( [this.route.params, this.route.queryParams], (params, queryParams) => ({ ...params, ...queryParams })); ...
A. Gladkiy's user avatar
  • 3,502
1 vote
2 answers
687 views

In Angular, after a routerLink triggers a route change, the old component is only destroyed basically at the same time as the new component's initialization: This is being a problem for me because I ...
Tovar's user avatar
  • 475
1 vote
2 answers
223 views

I am working on client application using newest angular (18). I tried to make the site that after login it redirects to tasks. But when I do navigate, it changes URL and site stays on login page, when ...
Karo S-S's user avatar
1 vote
0 answers
377 views

In my Angular16 standalone app I want to implement a RouteReuseStrategy and add it only to specific components. I found some solutions that implied using some extras (eg https://stackoverflow.com/a/...
Andrei Manolache's user avatar
0 votes
4 answers
80 views

<div class="mr-3 ml-3 mt-0 mb-4 leave_card_outer" *ngIf="leaveStatus !=null"> <div class="row bg-white p-2"> <div class="col py-3 ...
Dikshith's user avatar
3 votes
1 answer
807 views

In an Angular 18 application I can not have children route parameter set. I have a route defined as export const routes: Routes = [ { path: 'test', children: [ { path: ':operation/:id', ...
user2959635's user avatar
1 vote
0 answers
39 views

My app has this page structure: /home /menu /A /B /admin so /menu/A and /menu/B are two distinct pages. Anyway, in very large (XL) screens, I could show both of them side by side. So I want ...
DeLac's user avatar
  • 1,122
0 votes
1 answer
72 views

Recently upgraded Angular application from version 9 to 12. Now, my current routes are not working, and encoded to %23. Here is an example of my routes: { path: 'app-terminal-request-list', component: ...
monstertjie_za's user avatar
3 votes
2 answers
82 views

The code below reload a page just once after initial page rendering (loading). It does not reload the page after first reload request was made. I want to know how to reload a page indefinitely. In ...
Milie24's user avatar
  • 89
2 votes
1 answer
144 views

Summary I want to redirect in my Angular RoutingModule from one path to another while maintaining the query params. However, when the redirect completes, the query params are not present anymore. The ...
times29's user avatar
  • 3,461
2 votes
0 answers
68 views

I'm working on an Angular application and focusing on accessibility. At the top of the page are "skip to main navigation" and "skip to main content" links. It's been my idea, with ...
Green Grasso Holm's user avatar
0 votes
1 answer
71 views

In angular app I have hundreds of dynamic routes. Which are added in route config after an API call. But when I reload the same page with dynamic route, browser send the request to server and return ...
Shivansh Chouhan's user avatar
2 votes
2 answers
95 views

I try to add the language of customer directly in the path like /en/dashboard And if a customer go to the web site with an older link, like /home I want to add automatically the default language in ...
R3tep's user avatar
  • 12.9k
1 vote
0 answers
235 views

I'm facing an issue with routing in my Angular application. When I directly copy and paste a URL into the browser (e.g., https://myapp.dev/material-details/bd3d31dd-945a-4faf-a888-be43204d6a85/...
Kristijan Nikoloski's user avatar
1 vote
2 answers
1k views

On my new angular project I have the following app.routes.ts file: import { Route } from '@angular/router'; export const APP_ROUTES: Route[] = [ { path: 'main', loadComponent: () =...
joaovzg's user avatar
  • 60
1 vote
1 answer
58 views

loadChildren: () => import(/* webpackChunkName: "apc" */ 'advanced-payments-control') .then((m) => m.AdvancedPaymentsControlModule) .catch((e) => { ...
tlq's user avatar
  • 1,001
1 vote
0 answers
153 views

I could not make Dynamic linking working in an app. So to keep example as simple as possible, I followed Tour Of Hero example and downloaded the code. App works locally fine as well as when deployed ...
puzzled's user avatar
  • 641
0 votes
3 answers
253 views

How do I create child routes for a tab page using angular? app.component.html <main class="main"> <div class="content container-fluid"> <router-outlet></...
Daron's user avatar
  • 117
1 vote
1 answer
253 views

I just started with coreUi and Angular 18 and would like to intercept the requests, when the user calls another route. I started with the standard coreUi modern theme and set everything up so far but ...
Sithys's user avatar
  • 3,801

1
2 3 4 5
76