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: ApplicationConfig = { providers: [ provideRouter(routes), CookieService,
...
Only I have the following error :
NG0204: Can’t resolve all parameters for CookieService: (?, ?, ?)
In package.json, I have :
"ngx-cookie": "5.0.0",
Any idea?
Thanks.