Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
110 views

Angular: 18.2.13 Jest: 29.7.0 I'm unit testing a method in my component which performs a router.navigate after a successful HTTP call. Note that I've removed some of the unncessary code for brevity ...
commadelimited's user avatar
0 votes
0 answers
25 views

When using web inspector on chrome/android or safari/iphone my app will launch just fine and I can inspect everything. However on certain occasions, especially on Safari, app startup console messages ...
rolinger's user avatar
  • 3,196
0 votes
0 answers
40 views

We have a module-based A19 application which has a root component/module and a relatively deep tree of child routes/modules. app-routing.module.ts: const routes: Routes = [ { path: "foo", ...
CranMalReign's user avatar
2 votes
2 answers
137 views

I have an angular js/angular 18 hybrid application which is working, but what I am trying to do is migrate the routes of the customer users like this: .state('customer', { url: "/...
Some d's user avatar
  • 95
1 vote
2 answers
551 views

X [ERROR] TS-996008: Component TasksComponent is standalone, and cannot be declared in an NgModule. Did you mean to import it instead? [plugin angular-compiler] src/app/app.module.ts:13:4: 13 │ ...
ambuj151's user avatar
1 vote
1 answer
145 views

I'm trying to block the RouteReuseStrategy based on some conditions but this is not happening. I've a route name as comp-a which is called in two different ways. 1 time is from a back button and the ...
avishekdr's user avatar
  • 1,146
1 vote
1 answer
37 views

In our module we have a custom method defined that essentially adds on more functionality to $stateProvider... (function () { 'use strict'; angular .module('someModule', []...
OrangeJuice1-'s user avatar
-1 votes
2 answers
74 views

I am getting below error: NG8001: router-outlet is not a known element: If router-outlet is an Angular component, then verify that it is part of this module. If router-outlet is a Web Component then ...
shakira's user avatar
0 votes
1 answer
116 views

I want to know how to manually reload an active menu item of PrimeNG. I know that there are ways to reload the current component manually but i want to know if there's any method implemented by ...
Erik Vasilyan'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
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
1 vote
1 answer
727 views

I am working on an Angular 17 project and need to simulate the "Empty Cache and Hard Reload" feature that browsers offer. Essentially, I want to force a full refresh of the application, ...
Mohamed shehab'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
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
0 votes
2 answers
145 views

I use the service socket.io to emit and receive data. When the send button is clicked, it emits data and shows FENEmitInfo, then receives the data and shows FENSocketioGetCnt and FENSocketioFilterCnt. ...
user9427453's user avatar
1 vote
2 answers
113 views

I have created a menu, breadcrumbs, with components and their children. The problem is that I see the first child perfectly with but when I open a child of that child (grandchildren so to speak) the ...
Pedro Madrigal's user avatar
1 vote
2 answers
101 views

So I have Ng routing for Angular18 configured as below for app.routes.ts which is default routing import { Routes } from '@angular/router'; import { LoginComponent } from './login/login.component'; ...
Binary Dharma's user avatar
1 vote
1 answer
68 views

Kind of new to Angular (17) This is my app structure --app.routing.modules.ts --app.component.ts ------module1.routing.module -------------module2.routing.module -------------module2.component.ts -----...
Alejandro Martinez's user avatar
0 votes
1 answer
454 views

I am creating a project in Angular 18. For now, I am only working on the frontend, but I need to create a "test" login. The problem I have is that the navbar was showing in my "login&...
Daniel Valverde's user avatar
1 vote
1 answer
47 views

export function getApiKey(config: WebConfigService): Promise<boolean> { return new Promise((resolve, reject) => { config.getConfigLoaded().subscribe(key => { if (key) { ...
sumit mali's user avatar
1 vote
1 answer
39 views

When I click on the menu item it takes too much time to load This is my app-routing-modules.ts const routes: Routes = [ { path: '', children: [ { path: 'login', ...
Abdul's user avatar
  • 33
2 votes
1 answer
87 views

Im unable to redirect to /user pleas help here is the AuthGuard where I have subscribed to an authService.authSubStatus that emits a boolean import { inject, Injectable } from '@angular/core'; import {...
Mathew Francis's user avatar
0 votes
3 answers
592 views

login.components.ts: import {Component, OnInit} from '@angular/core'; import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms"; import {AuthService} from &...
Yehor But's user avatar
0 votes
0 answers
42 views

I have the following routes definition: { path: 'clients', loadChildren: () => import('@app/domains/clients').then((m) => m.WebClientsModule,), }, Then inside the WebClientsModule,...
frankfullstack's user avatar
1 vote
0 answers
76 views

Problem : - The second named router outlet(chat Area) in the router module is not rendering but the URL works fine. The UI idea is inspired from the vscode. which is : - the icons from the left side ...
sabareesh-10108's user avatar

1
2 3 4 5
209