In Angular we can use **\*ngFor** in the following way:

```
<li *ngFor="let hero of heroes">
  {{ hero }}
</li>

```

But how does Angular define the scoped variable **hero**
and would I be able to implement the same thing?
I am only interested in the scoped variable and not in the looping part.