I have below async function in Angular 9. I am not very clear with Async await. Problem is op is assigned undefined as dataURI is not evaluated yet. Obviously I am using awa