How to add simple HTML page with javascript in folder public

I’m currently trying to serve my Angular app from the public folder after updating from v3 → v4, and it isn’t working the way it was previously. The unsafe-inline error is also one of these issues for me.