I have some application which uses websockets, for that I was using angular2-websocket in my angular5 application. I keep getting following errors: StaticInj
I need to set some Authorization headers after the user has logged in, for every subsequent request. To set headers for a particular request, import {Headers
Inside my NGXS store I have the following async selector @Selector() static async mainState(store: IMyStore): Promise<IMyState> { return this.getActiv
Here I have list of yes or no questions and provide radio buttons for the user to choose the answer for each individually - also providing two buttons for "All
I am a beginner in Angular 2.I'm trying to display some data using angular. this is my code part: <span>Value :</span> <span>{{myvalue| num
I'm trying to copy a text when a button is clicked. I tried following Angular's documentation (https://material.angular.io/cdk/clipboard/overview#programmatical
Gist I have a Monorepo with solely Typescript packages. When I run tsc --build all packages will be compiled to Javascript. This worked fine until I added a pa
I've already seen some related question & answers, but unfortunately those didn't help me much. ngOnInit(): void { this.form = this.fb.group({ new
Hi I am using jwplayer (8.21) for my angular project. I need to disable pausing or seeking video and here is my code: let currentTime = 0; jwplayer('pla
I've a service to get the data from an API in my angular app. The service is used in different components - and the same http request is send multiple times. To
I Just updated angular to latest 9.0.0-next.4. I am not using routing but suddenly after updating I keep seeing this warning. How Do I remove this warning W
I am using Angular2 to restrict the copy and paste in textbox. But how do i write a custom directive, so that it will be easy to apply for all the text fields.
I am trying to bind a class name inside Angular ngClass so that the user will be able to set any class name he likes to the element. I have the following in m
I am trying to bind a class name inside Angular ngClass so that the user will be able to set any class name he likes to the element. I have the following in m
I've enabled right-click on an element, like so: <div class=my-content (contextmenu)="openContextMenu($event)"> In my handler, I've added the necessary
I have following code in my template <kendo-tabstrip #tabstrip (tabSelect)="onTabSelect($event)" [animate]="false"> <kendo-tabstrip-tab [title]="'Cus
I am using Angular 7 and Angular Material as server-side pagination. I got problem with this matter. The problem is the pagination become like this. I want t
I'm using Angular 4 HttpClient to send requests to external service. It is a very standard setup: this.httpClient.get(url).subscribe(response => { //do so
Stackblitz Link Here if I click on add button delete button is showing for the last fields. Need to show delete button for all the respective fields sections. t
In Angular project Google material icons are working fine in chrome but not rendering in chrome incognito mode and firefox . In index.html below lines are used