Problem with linking between segments and content

Hello All,

trying to bind ion segments value I used *ngFor on with the ion list in the content but no data is shown in the list. all examples in the official documintation uses static data not dynamic

here is my Array

this is the html File

I tried to workaround it by adding a function that gives me the segment button index and used that index in the loop but it gives me an error of undefined as shown here

I appreciate any help