$scope.msg = "Data Updated Successfully. Item ID: " + $scope.id;
After successfully updating any data, a message will be displayed as "Data Updated Successfully. Item ID: 13456". I want to turn the ID into a clickable hyperlink. Here is what I have attempted...
$scope.msg = "Data Updated Successfully. Item ID: " + document.write( '<a href="#test_update/' + $scope.id + '" title="Click to view Details" target="details">' + $scope.id + '</a>');
Unfortunately, this code is not working as expected. Any suggestions would be appreciated.