Can you check this blog and it should help you in setting up the web.config and connecting it to the WebApp - https://about-azure.com/web-config-for-hosting-an-angular-application-on-azure-web-app/
Hope this helps.
JS
==
Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.