To enhance the user experience, I want to change the color of the text in certain table columns when the mouse hovers over them. The first column should remain unaffected. Despite implementing the code below, it is not functioning as desired:
onmouseover="{{$index==0?this.style.color='black':this.style.color='#f06751'}}"
onmouseout="this.style.color='black'"
It's worth noting that I am utilizing AngularJS for this task.