How to use string function in Html angular interpolation tags
In component file somevalues = [1,2,3,4,5]
Html File:
<div *ngFor="let x of somevalues; let i = index">
{{x}} - {{i}}
<!-- {{ String.fromCharCode(65 + i) }} -->
</div>
I would like to get results somewhat like this:
1 - 0 A
2 - 1 B
3 - 2 C
4 - 3 D
5 - 4 E
Componentfile, but I'm looking make this work in html itself