In my angular controller i defined
$scope.flag1 = false;
$scope.flag2 = false;
$scope.flag3 = false;
I need to read those variable in my view page as bellow
<div flex="30" flex-sm="100" ng-repeat="shortListLoad in user.shortListLoads">
<md-icon id = "{{'flag'+shortListLoad.id}}">
</md-icon>
</div>
The thing is id ="{{'flag'+shortListLoad.id}}" brings as id = 'flag2' than id= 'false'.
how to get id= 'false' ? please help me?
user.shortListLoads
look like? – Andre Kreienbring Nov 20 at 10:25