Hello like in the subject, I want to change the class of the item like this:
<a class="nav-link active" href="#"> --> <a class="nav-link" href="#">
Have you any ideas? Thanks for ur answer.
You can use ngClass directive:
<a class="nav-link" [ngClass]="{'active' : condition}" href="#">