Cannot apply the styles for span tag from javascript
<span ng-bind-html="insuranceCodeText(insuranceMethod.insrurance_Code)"></span>
$scope.insuranceCodeText = function (value) {
return 'Insurance Code: ' + '<span style="font-weight:bold;">' + value + '</span>'
}
$scope.insuranceNameText = function (value) {
return 'Insurance Name: ' + '<span style="font-weight:bold">' + value + '</span>'
}