For questions regarding Angular specific to version 14. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular14]
536 questions
-1
votes
1 answer
How can I split the array when it comes to the letter I want in the alphabet, with Angular?
I want to make something like this:
"ABCDEF", "GHIJK", "LMNO", "PRSTU", "VYZXWQ", "0123456789"
I have a sequence in alphabetical order; Names with first letters "ABCDEF" must occur in one array and another array with "GHIJK"
I don't know how I can…

Cem Özbey
- 9
- 3
-1
votes
1 answer
How to concatenate this property name in typescript
Trying to pass values by method(function) from one component to another component using extends. But not working. Is it possible by any service?. So How to resolve this issue? If anyone knows please help to find the…

EMahan K
- 417
- 1
- 19
-1
votes
2 answers
How to update the input decorator value in angular 14
Trying to change the input array value. But not working in angular 14.I do not know why it is not working. If anyone knows please help to find the solutions.
app.component.ts:
changeVal() {
…

EMahan K
- 417
- 1
- 19
-1
votes
2 answers
inastall @agm-core on angular14
when trying to install agm-core, get error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @angular/common@14.0.4
npm ERR!…

אפרת רוטשטיין
- 11
- 1
- 1
-1
votes
1 answer
This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.3.0-rc.0, [ng] but Angular version 14.0.4 was found instead
I did update my ionic project to Angular 14.
Tested all and everything was working when I used ionic s.
I wanted to test on my android device and ran ionic cordova run android but got the following error
[ng] This version of CLI is only compatible…

Raphaël Balet
- 6,334
- 6
- 41
- 78
-1
votes
1 answer
Angular 14 issue in method loading component at runtime
I am using Angular 14 and I'm trying to load a component at runtime like this:
import { Component, ViewChild, ViewContainerRef } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
…

ianventor2300
- 1
- 2
-1
votes
1 answer
How can I access video file from the local system location using Angular?
I'm trying to access video file using my system path but it's not working. However it's working fine if I put this file inside src\app\assets folder in my application.
My html code are:
-2
votes
2 answers
How do I properly pass headers to each HTTP call in my Angular service?
I'm using Angular 14. I have created the below service:
import { HttpClient, HttpHeaders } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class HolidayCalendarService {
...
private readonly headers: HttpHeaders;
…

Dave
- 15,639
- 133
- 442
- 830
-2
votes
2 answers
Merge objects of array having same value of a key but keep different values of another key as inner array
I have an array which has keys eventId and selectedNumber. In the array same eventid can be present in multiple objects but selectedNumber value will be always different. My aim is to make a nested array in which each object will have unique eventId…

Somnath Pal
- 190
- 1
- 15
-2
votes
1 answer
Angular *ngFor not reading nested data
I am trying to get angular to display some data.
Here is the data:
data = [
{
title: 'title1',
data: [
{
id: 1,
description: 'some description'
},
{
id: 2,
…

pixelKus2022
- 15
- 4
-4
votes
3 answers
Custom Angular Lint Rule
I want to add a lint rule in the angular application. The lint rule will give me a warning/error that anybody should not call the function inside a tag.
call() // will give error/warning in html

HafizMuhammad Shoaib
- 60
- 1
- 7