title: How to fix "Failed to load resource 404" after deploying angular application to azure portal web app
body: <p>I am trying to deploy an angular application to Microsoft azure app service via the dist folder. I run the script "ng build --prod" to generate a dist folder, compressed it, and uploaded it to the deploy site for azure service. Then only a part of the website is loaded and there are a lot of 404 errors. Here is my temporary web link: <a href="https://tes42.azurewebsites.net" rel="nofollow noreferrer">https://tes42.azurewebsites.net</a></p>
  
  <p>The angular application has a rooter called "books", and the index.html file in the dist folder has  code. I am thinking if the problem is caused by this?</p>