How can I apply style on some item in a list that satisfy listed condition:
-
2021-01-11 10:14
Please refer below
function simpleController($scope) {
$scope.items = [
{
selected: false,
name: 'first'
}
,
{
selected: true,
name: 'second'
}
];
}
.red
{
background:red}