Despite numerous attempts, I struggled to run a simple "Hello world" application in Angular 4 on IIS. All my efforts resulted in a blank page with no errors. The only successful methods I found were:
1- Building the application using the "ng build" CLI command and then setting the website path to the output directory.
2- Running the application using the "ng serve" command, which utilizes the Angular server instead of IIS.
In summary, I aim to develop an Angular 4 application in Visual Studio and simply hit ctrl + f5 to launch it. It's worth noting that this process worked smoothly in Angular 2 but encountered issues in version 4.