I have this array and would like to categorize the name value, based on the group value in my HTML file.
This is a snippet of relevant parts from my .TS file where I have the arrays.
export let Students = [
{
'name': 'Alex',
'age': '14',
'group': 'Regular',
},
I have tried to remove the tags, but that does not give the desired result. I feel like that there is a much more efficient and simple way of going about this.