<div ng-if="item.isOpen" class="text-center">
  <scorechart score="item.riskScore" max="1" min="0"></scorechart>
</div>

<div
  ng-if="!item.isOpen"
  class="text-center"
  ng-style="{'background-color': item.riskScore < 0.7 ? '#016450' : item.riskScore <= 0.8 ? '#FFFF00' : '#91003f',
                'color': item.riskScore >= 0.7 && item.riskScore <= 0.8 ? 'black' : 'white'}"
>
  {{item.riskScore | number:2}}
</div>
