title: how to highlight selected item with color in angular?
body: <p>This is My Folders UI and when I click or select any one folder i want to highlight that specific folder with green color and second question is i hover mouse on any other folder I want to highlight that folder with yellow color. each folder has its different folderid </p>
  
  <p><a href="https://i.stack.imgur.com/qOyzF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qOyzF.png" alt="enter image description here"></a>  </p>
  
  <pre><code>&lt;div *ngFor="let folder of folderObjs (dblclick)="addNewFolderRoute(folder.folderid)"&gt;
    &lt;mat-icon&gt;folder&lt;/mat-icon&gt;
    &lt;span&gt;{{folder.folderName}}&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>