How do I access a chunk blob data with ng-flow?

623 Views Asked by At

I'm trying to access a chunk of blob data using ng-flow from an angular controller.

       $scope.$on('flow::fileAdded', function(event, $flow, flowFile) {

            console.log(flowFile.chunks[0]) // See image output from console

        });

enter image description here

I'm looking to pass the chunk blob object via a service call but no idea how to access it. I can't use ng-flow's built in upload methods since it's a special case using Azure WAMS so any help getting access to these chunks of data as blobs is much appreciated.

0

There are 0 best solutions below