Category "angular"

Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'

I have a dotnetcore 20 and angular4 project that I am trying to create a userService and get the user to my home component. The backend works just fine but the

I am new to angular. I just installed angular material and angular animations in my small project and got some of the errors

I just ran the code npm install --save @angular/material @angular/animations. Its my package.json { "name": "cerpnew", "version": "0.0.0", "license": "M

Angular 2 change sidenav content depending on the current router state

I am developing single page application in Angular 2. I am using angular material mat-sidenav and mat-toolbar. Toolbar has sidenav toggle button, buttons to ope

How to use picture element in angular Material cards

How can I combine the picture element with the Angular Material card? In Angular Material cards https://material.angular.io/components/card/examples you can us

jQuery Ajax Web API call returns 401 unauthorized error when set only Windows authentication in IIS

We have our Web API hosted in IIS with only Windows authentication. We are calling that API from our Angular project and it is working fine. Now we are creatin

ion-img doesn't work inside an ion-card - Ionic 4

I think I’m facing a strange issue. I’m trying to show an image using ion-img inside an ion-card component : <ion-card> <ion-img src="

CKEDITOR is not defined - Karma Angular Test

we have a component in our application where we use CKEDITOR but the karma is not able to load the editor while running the ng test which error ''CKEDITOR is no

Angular, compile and create components at runtime

I'm trying to make a document generation tool in angular and I'm hitting a challenge with how I would allow a user to dynamically create content. My components

AngularFIre: LImit to 10 most recents registers

I have a query on firebase, but I want to show just the most 10 recents registers instead all of them my code is: videos: Observable<any[]>; construc

Angular HttpClient "Http failure during parsing"

I try to send an POST request from Angular 4 to my Laravel backend. My LoginService has this method: login(email: string, password: string) { return this.

Why is a child component called four times on initial loading of the parent component?

I have a parent component and a child component. I know that change detection runs on events like HTTP request, setInterval or setTimeOut etc. But here I don't

How do i set the active tab in PrimeNG tabMenu?

Where I do declare activeIndex and how to use this variable ? I have html file: <p-tabMenu [model]="tabMenuItems"></p-tabMenu> and typescript f

How to remove the previously selected option from a drop-down menu in a table?

I am making a project on angular 7.It has a table with a column having dropdowns. The dropdown contains various languages. When a language is selected in a part

How can I get information on hover effect in atom editor as it displays in VScode?

Is there any plugin that I have to install in Atom to get this type of information on hovering on variables, objects or functions somewhat like intellisense? It

How to update order of entities in NGRX? angular 9

I am building an application, where I have N columns (N lists of items) and by using a drag & drop from angular material I am able to move items between the

how to and array of objects from a subscribe method and store it in another array for use in functions?

I have a service to get data from the backend database and display the array of objects that works fine, the only problem is I can not use it outside of the sub

In angular material table , on a button click it should filter data which are older than 3 months

I had angular material table which contain a column that shows data using this I need to filter data which are older than 3 months

Error: Package "@ionic/angular-toolkit" has no builders defined

[error] Error: Package "@ionic/angular-toolkit" has no builders defined.} at WorkspaceNodeModulesArchitectHost.resolveBuilder (C:\Users\Lenovo\Documents\kr

TypeError: Cannot read properties of undefined (reading 'runtime')

I just upgraded to Google Chrome 100.0.4896.127 and I'm seeing the following error in my Angular 13 application in the console: Uncaught TypeError: Cannot read

Why FormData object is empty even after I use append?

I tried the following code: (This is my service file in angular posts.service.ts) updatePost(id: string, title: string, content: string, image: File | string)