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
I am trying to implement Lazy Loading into my application but seem to be coming across an issue whereby I get the error message : Error: RouterModule.forRoo
I am trying to interact with the HelpScout beacon via their API methods however struggling to interact with the DOM from the controller. I have tried running
I am updating my angular project version from 8 to 9, after resolving other build errors when i run ng serve my compilation is getting stuck at 15% building 43/
I am using TinyMCE editor in angular my angular 5 project, and want to handle image uploads, which I am currently not able to do. Here is my current code: <e
I am trying to integrate Agora in Angular 8 application. Successfully, I am able to join and leave video call, now I am trying to integrate screen share which I
I bootstrap a simple Angular (v10.1) app and create Github action workflow as below. Note that I have configured test to run with recommended configurations as
I am getting error: tried using like: "useClass: ApidataService" or "ApidataService" in providers and also remove public from the service constructor. Failed t
I'm trying to build a static site using Angular. What I want is to have some global css/js/image files to be added to the index.html This is my code in index.h
My pipe current print : {{ 200 | currency:'BRL':true }} = R$200.00 I need include space between R$ in 200.00 would stay correct {{ 200 | currency:'BRL':true
There is a master-detail example on the angular2 site. I can't follow the pattern in my example below. In my example I have three components (1) customershome
In my Angular 2 application's constructor i need to assign service function returning data to a public variable and show in html view. Console log works well bu
I am trying to test the output of an angular component. I have a checkbox component that output its value using an EventEmitter. The checkbox component is wrapp
We have several web applications that we wish to present under one single page application. We are looking for a micro-frontend architecture/f