Looking for a solution to display data and map values to another presentation without needing complex ngIf statements or creating multiple components.
Check out this sample: https://stackblitz.com/edit/angular-9l1vff
The 'vals' variable contains the data, while 'getVal' performs the mapping process.
Is there a way to achieve this directly in the template without intricate logic or relying on the HTML-sanitizer?
Seeking the most efficient strategy to handle this situation. Any advice?