I wanted to be able to build up a reactive form using components, but not set it all up in a single parent component. So I created the intial FormGroup and pas
I'm trying to make a request in Angular and I know that the HTTP response will not be in JSON but in text. However, Angular seems to be expecting a JSON respons
So I have the following state: [ { name: "Main Tree", branches: [ { name: "Branch 1", branches: [] },
I am having a weird issue where the mute tag on a video element is being ignored. <video #media playsinline webkit-playsinline loop muted [src]="video
I'm using p-calendar in my app to take input from the user for a particular time. The calendar works fine. However even when I click on some other date on the c
I am trying to invoke a method from a filterfunction() by using 'this' keyword. However, I realize that 'this' refers to the event handler instead the component
1st error: Namespace '"D:/desktop/Programming/oauthAngular/node_modules/firebase/compat/index"' has no exported member 'User'. 2nd error: Type 'import("D:/desk
I'm trying to display a full screen modal but nothing seems to work. I tried to use the size: "lg" but the result is still way too small. I think it could be so
I need some assistance here, I am unable to pass a variable to the @Input variable of my Elements tag. If I hard code a caller-id = "123456" inside the tag it w
I want to customize a <cdk-virtual-scroll-viewport> by using the CSS class .cdk-virtual-scroll-content-wrapper so that the scroll container always shows a
How can I filter the material data table with specific column ? public dataSource; this.dataSource = new MatTableDataSource(this.items); this.dataSo
Note : I'm not a front end dev, even if I do a bit of it. If anything you see can be improved, do not hesitate to share ;) Strange behavior here, I can't find o
Below is the relevant code. The error auth/argument-error is thrown when the method signInWithPopup gets called: import { AngularFireAuth } from "@angular/fire
I've been tasked with writing tests for a chat app developed with Angular. Below is the snippet of Angular template code I'm currently writing tests for: <
In my angular service (EmployeeService) I have the following: httpPostOption: { headers: any; observe: any; } = { headers: new HttpHeaders({ 'Conte
I start using ngrx let to using plain objects. The problem is when I use a lot of observables in my component, I end up with the code which is seems bad (ng-con
I have created tab pages and included in my app.component.html file by selector my problem is that I want to hide tab in some specific pages can anyone help me
I'm using this, from here: constructor(private heroService: HeroService, private activatedRoute: ActivatedRoute) { } ngOnInit() { const heroId = this.
Simply put, I implemented a HttpInterceptor in Angular under Universal/SSR mode and did the registration, but none of the requests hit this interceptor. First,
I have a child component that looks like this: @Component({ selector: 'app-child', changeDetection: ChangeDetectionStrategy.OnPush, template: ` {{tex