I have JSON file with a list of strings that contain numbers, e.g
{
"MyAccount": "105"
}
On the front end, can i perform a condition on this value? ie:
<div ng-if="MyAccount > 100">
//code ig account greater than 100
</div>
Trying to do this without having to write any JS as this ng-if will be within a complex ng-repeat
Ive tried:
<div ng-if="parseInt(MyAccount) > 100">
//code ig account greater than 100
</div>