Using angular-plotly.js v20, I've noticed the PlotlyViaWindowModule class isn't exposed any more. I can't see it at all in the bundled code within node_modules.
I can see the file was temporarily removed in this commit 859d43a7bb9d3cda6fdc948d9893d2055a144dd9 which removed its reference from the public-api.ts file. But it wasn't added back to the public-api.ts file in b7c4392
I'll create a PR in a couple of days if no one else gets to it.