So, I\'m just getting started with angularjs and I\'m already confused. I want to change the colour of a list element that corresponds to a hex code colour that is in an array.
in the code bellow i add easy code to understand how to active style with condition. I hope that help you
Javascript Code
function changeColorMenu(indexMenu,bool) { $scope.isOver = bool; $scope.linkToActive = indexMenu; }