I'm working with angular4 and I've been having a lot of trouble trying to display some elements of an array in my view.
I got this

the number of elements can change according to the current month so if it was February it would be only M01 and M02 in the array. I've been trying to loop it in for loop but I can't seem to get it right. any ideas on how to do it?
I'd like to get something like this, all values that start with "M" in a single property
[0: M: [...]
cod_item:...
cod_condominio:...
...
]
it doesn't matter if it is an array or object as long as i can loop that element to show it in my view.
"M"?