Skip to main content

All Questions

1 vote
1 answer
308 views

NG0204: Can't resolve all parameters for CookieService: (?, ?, ?)

I have an Angular application, using Angular 16, in standalone mode. I want to use the service from ngx-cookie. So I declared it in "app.config.ts": ... export const appConfig: ...
mikael's user avatar
  • 11
0 votes
0 answers
14 views

Base component isn't outputting method passed to the derived component

I have 4 form standalone components that have duplicate html and ts logic (They all have a label and close 'X' button at the top, with 'Close' and 'Submit' buttons at the bottom. I'm trying to make a ...
Tanner Hooper's user avatar
7 votes
3 answers
9k views

TypeError: Cannot read properties of undefined (reading 'ɵcmp') Angular

I have created a custom ui library using only standalone components and here's my public-api.ts file. /* * Public API Surface of ih-ui-lib */ export * from './lib/ui-lib.service'; export * from './...
Azan Korejo's user avatar
0 votes
0 answers
784 views

Angular standalone directive with "input" selector not applied globally

Angular 16.1.0 (Standalone architecture) I've created a standalone directive to be applied to all inputs: import { Directive, ElementRef } from '@angular/core'; @Directive({ standalone: true, ...
XVR-dev's user avatar
1 vote
0 answers
1k views

Unable to use GoogleMapsComponent in a Standalone Angular 16 app

Description I'm unable to use Google Maps Component with a Angular 16 app which doesn't use NgModules. I have imported GoogleMapModule in the imports array of my standalone component and yet the ...
Sayantan Dey's user avatar
1 vote
1 answer
3k views

Importing the BrowserModule into a standalone Angular16 project

Angular 16 is recently released and I have created a new standalone project without any module. then in a standalone component I need to import BrowserAnimationsModule from angular/platform-browser/...
Zahra Rabbani's user avatar