Palette Component is Undefined while using ngFor

Hi,
While using ngFor in Angular with GoJS am not able to loop the palettes, and the lineComponent becomes undefined…

Gojs-palette and gojs-diagram at view templates are working fine while not adding the ngFor.

Standalone of the above Component is available here -
https://github.com/gnsnach/GoJS.git

    • And Palette is not even null and getting undefined always in the standalone project am not able to view in palette and can’t use the ngFor.

Request your help on this.

Thanks,
Ganesh

After reading through your code I cannot tell why the reference is undefined. Angular is too complicated for me to understand.