CSS
.can_click { cursor: pointer; } .can_click:hover { background-color : #1de9b6; } HTML
<table> <tr ng-repeat="x in list" class="can_click"> <td>{{x.name}}</td> </tr> </table> How to make so that after moving the cursor out of the table, the last element to which the event was applied :hover , remains selected?
Are there any easy ways?