Skip to main content
0 votes
2 answers
43 views

My LoginComponent: import { Component } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Component({ selector: 'app-login', standalone: false, templateUrl: './login....
Naveen kumar's user avatar
1 vote
1 answer
53 views

I think I have a knot in my brain, it can't be that difficult. I have an Angular component and it is called in my app.html <app-custom></app-custom> and if app-custom does not exist, a ...
pepenipf's user avatar
1 vote
1 answer
107 views

I have a dynamic table component in Angular 19, which is built using a TableConfig object. This configuration creates the table's structure, including headers, columns, and rows. The rows property of ...
Razzer's user avatar
  • 891
1 vote
1 answer
199 views

I've run into a problem that my header's imports are not loaded properly in SSR. In my Angular 19 application the app.component.html includes a static <app-header> component that should exist on ...
Ivan Kusliy's user avatar
2 votes
1 answer
70 views

I am trying to wrap Angular/Youtube component, described here. This stackblitz is the result. The problem here is that <youtube-player #musicPlayer [videoId]="extractVideoId(videoId)" ...
Foxhunt's user avatar
  • 964
2 votes
1 answer
39 views

I have a parent component whose template is basically this: <table> <thead> <tr> <th>Data 1</th> <th>Data 2</th> </tr> </...
Raj's user avatar
  • 25
0 votes
2 answers
56 views

Let's say I have a module with components and services which should only be loaded if a specific feature flag is true. The app.component checks for the feature flag and in its template has a component ...
pop's user avatar
  • 3,782
2 votes
2 answers
655 views

I have an Angular dropdown component (CustomDropdownComponent) that receives a list of options and a selected value from its parent component via @Input(). The parent also listens for selection ...
David Küng's user avatar
1 vote
2 answers
151 views

I am receiving an HTML string from an API response and need to render it inside my Angular component while keeping the component's CSS styles applied. What I have tried: Using [innerHTML], but the ...
Lebanta's user avatar
  • 53
1 vote
2 answers
76 views

Disclaimer: I may be wrong about my understanding of this seeing as I have only been using Angular for little over a year (Angular 16.0.0). Code I have this component (SidebarComponent): @Component({ ...
Wael Dghim's user avatar
0 votes
3 answers
615 views

I'm trying to filter an array based on the value of a signal , I think computed signal is the best option for this purpose. My goal is to show only the results that match (via a custom filtering ...
berno's user avatar
  • 253
0 votes
1 answer
110 views

I want to update my heart icon, which bound to every product, to add to favourites. <i class="fa-regular fa-heart" *ngIf="!isFavourite"></i> <i class="fa-...
lordlaurent's user avatar
0 votes
0 answers
15 views

I've have two nested custom directives on third-party components. I can't find a way to inject or access the actual directive (with custom functions/logic) instead of the base component. Here is a ...
adrianjgp's user avatar
1 vote
1 answer
70 views

I am questioning myself of whether or not to structure my Angular components in sub divs, to make the html better. I do have a main page and a overview component. Is it good practices in Angular to ...
thegreyluk's user avatar
1 vote
1 answer
71 views

Inside global-component I have method for dynamically creating component const comFactory = this.resolver.resolveComponentFactory(ParentComponent); const component: any = this.componentContainer....
Sara's user avatar
  • 751

15 30 50 per page
1
2 3 4 5
139