I am using ngFor to loop 8 json objects and I want not only to loop the values but also I want to count the number of looping values and display the number.
For example,
Demo
{{i}}. {{item}} {{items ? items.length : ''}}
You could just print the length of the items array.