I am using Angular 20, @for is new syntax. With track expression determines a key used to associate array items with the views in the DOM
@for (news of data; track news.json) { <h3>{{news.json}}</h3> } @empty { <h3>There are no json.</h3> }