The File() constructor is not supported in IE and Safari.CanIUse
Is there a nice solution to this in Angular/JavaScript?
var file = new File(byteArrays, tempfilename, { type: contentType });
Could I create the file in other ways, that is supported by IE an Safari?
If you absolutely want or need to use the File API, there's mOxie polyfill suggested by CanIUse.