All Questions
Tagged with angular-standalone-components angular16
6
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: ...
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 ...
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 './...
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,
...
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 ...
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/...