angularjs binding replace filter, trying to do
<td>
<!-- {{invoice.Number}} -->
{{invoice.SAPCLInvoiceNumber.replace("CL","CL - ")}}
</td>
How ever the replace is not working what is the correct syntax for Angular to do this? whats the correct way to do replace?
$scope.invoice.SAPCLInvoiceNumber = $scope.invoice.SAPCLInvoiceNumber.replace("CL","CL - ");