229 questions
0 votes
0 answers
22 views
Angular19 error no provider when service provided in imported NgModule
I migrated my project from Angular15 to Angular19. I am running mixed mode for standalone components where only AppComponent is standalone whereas all other components are standalone:false. I am using ...
2 votes
1 answer
114 views
Why doesn't the form display the datepicker?
I'm trying to display a form that consists of two fields: input and datepicker. However, the datepicker doesn't display. Instead, I see the following error message in the console: ERROR RuntimeError: ...
0 votes
1 answer
83 views
Angular CLI generated component test files are still modular
I created a component using the Angular CLI (quite recent version) ng --version 19.2.14 I did this using ng g c foo The problem I have with this is that the FooComponent is standalone (it should be)...
0 votes
0 answers
71 views
How to give a lazy loaded Angular standalone component's providers to another component that is used in Ionics ModalController.create
I have been converting my Module based Ionic/Angular project to standalone. I Have a lazy load component, that then displays another component using Ionics ModalController const modal = await this....
0 votes
0 answers
166 views
Angular standalone reporting circular dependencies where there are none, and with no explanation as to why
I have been converting my Ionic Angular v20.1.4 application over to standalone, and I have had a few Circular dependency errors popup where there were none before. A couple of others I found a work ...
1 vote
1 answer
84 views
How to use an Injection token for a ng/rx reducing in Angular standalone
I am migrating my Angular application, v20, which uses ng/rx store from module based to standalone. I had chosen to use classes for most of my reducers. For example, I have a reducer as follows @...
0 votes
1 answer
154 views
Angular standalone components library and NGRX slices
I'm migrating an application to standalone components using the following: ng generate @angular/core:standalone I've already migrated every component to standalone. I now need to remove unnecesary ...
3 votes
1 answer
79 views
Ionic Standalone Component - FormControlName
I have a form, reflected with some Ionic components: <form [formGroup]="loginForm" (ngSubmit)="loginForm.valid && login(loginForm.controls['email'].value, loginForm.controls['...
3 votes
1 answer
268 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 ...
2 votes
2 answers
95 views
Display spinner component during bootstrapApplication provideAppInitializer
This question is similar to Angular - How to show waiting indicator while app is loading using APP_INITIALIZER but for the new Angular standalone paradigm. In my main.ts file, I can add some ...
0 votes
0 answers
17 views
How could mimic the module experience with Angular standalone components?
Since it looks like the modules in Angular are near the end of their life, and stand-alone components are the future, how can we provide dependencies in the same way as when a module is used? With ...
3 votes
1 answer
526 views
Angular "No pipe found with name 'async'
I have the following Angular typescript and html template and it prompts the captioned error when build. Typescript: import { ChangeDetectionStrategy, Component, Inject, OnDestroy } from '@angular/...
0 votes
1 answer
422 views
Angular standalone component not rendering
I'm using Angular 19 and my version of node is 18.2. I've got an existing module project and have added a stand alone component. The issue I'm having is that the component does render and the ...
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> &...
2 votes
1 answer
248 views
Cyclic dependency error in Angular 19 with standalone components
WebStorm gives me Cyclic dependency between: AComponent -> BComponent -> CComponent -> AComponent even though I use forwardRef(() => AComponent), In a child component. Changing places ...