<li *ngFor='let category of categorys'> <div>{{ category.category_name }}</div> <div *ngFor="let subCategory of category.sub_category_names?.split(',')"> {{ subCategory }} </div> </li>
<li *ngFor='let category of categorys'> <div>{{ category.category_name }}</div> <div *ngFor="let subCategory of category.sub_category_names?.split(',')"> {{ subCategory }} </div> </li>