I need some help and for some reason I can't think of how to resolve it
I have an array of objects that I am looping through with *ngFor with
I want to add class binding to a field (description details) in my array but I do not want the action to happen to every 'Detailed Description'
Currently when I expand 'Detailed Description' Every object that has 'Detailed Description' also expands (Don't want that to happen)!
------HTML-----------
<div *ngFor="let n of Entry">
<ul class="list-group">
<li>
<p class="description"> Detailed Description
<span class="glyphicon" [class.glyphicon-minus-
sign]="expandedDetails" [class.glyphicon-plus-
sign]="!expandedDetails" (click)="toggleDetails()"></span>
</p>
<span class="entryDetails" *ngIf="expandedDetails == true">
{{n.description}}</span>
---------TS----------------------
toggleDetails() {
this.expandedDetails = !this.expandedDetails;
}