How do I get the position of the `option` that I have selected. I should work like the `index` of a table:

**In a table**:

```
<tr *ngFor="let car of cars;let i = index" (click)="showTabs(i)">
   <td>{{i+1}}</td>
</tr>

```

I would like to get that but working for a `select`

**What I have tried for a select**

```
<select (change)="getPos(i);" required>
    <option *ngFor="let car of cars;let i = index">whatever</option>
</select>

```