Blob to base64 , $scope.urImg=base64data is now working

function showImage(blobdata)
{

    var reader = new window.FileReader();

reader.readAsDataURL(blobdata);

reader.onloadend = function() {

base64data = reader.result; 
         
 $scope.urImg=base64data      // here i am showing image but its not displaying 

console.log(base64data );

}

 }

Please edit your post and use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.

@Sujan12
thanks for help
can you tell me which database is better for blob object
sorry for my english