How to apply to a specific button?

There are identical blocks of html code,for example :
<div *ngFor="let car of carsArray">
the <div>
 <!--is there any information about the car-->
</div>
the <div>
 <button class="btn more-info-btn" (click)=showMore()>read More</button>
</div>
 <div *ngIf="needMore" class="additional-info">
 <!--then additional information is displayed when you press the button-->
</div>
</div>

The method just changes a Boolean variable:
showMore(){
 this.needMore = !this.needMore
 }

The problem is that because the components are roughly the same, when pressed, additional information is shown on all cards at once, how to open add only on that card,where I clicked?
April 7th 20 at 15:15
1 answer
April 7th 20 at 15:17
Solution
<div *ngFor="let car of carsArray; let showMore">
the <div>
 <!--is there any information about the car-->
</div>
the <div>
 <button class="btn more-info-btn" (click)=showMore = !showMore>read More</button>
</div>
 <div *ngIf="needMore" class="additional-info">
 <!--then additional information is displayed when you press the button-->
</div>
</div>

Find more questions by tags Angular