Q:

Angular: How to access JSON object in a recursive function

I want to show the hierarchy where Groups have value. In my StackBlitz Link I tried 
item.Groups.length > 0

but it not working.
For specification: Level 3 will not be shown cause its Groups value is zero and the result I want:
Level 1 > Level 1-1 > Level 1-1-1
Level 1 > Level 1-1
Level 2 > Level 2-1

Output html will be like this: 

A:

Can you check this solution : Link ?

