To achieve this, you can use ng-class to create a dynamic class style for the pushed data. Feel free to check out my working example on JS fiddle:
JS fiddle sample
For HTML:
<li ng-click="Team($index,line.text,line)" ng-class="{'pushed':line.pushed}">
<li ng-click="Team2($index,line.text,line)">
In CSS:
.pushed{color:red;}
In Controller:
`$scope.Team=function(index,text,line){
var obj={};
obj = line;
$scope.linesTwos.push(obj)
line.pushed = true;
}`
`scope.Team2 = function(index,text2,line){
$scope.linesTwos.splice(index,1)
line.pushed = false;
}
`
This is necessary due to Angular's two-way binding feature.