Deploy on IIS:


Prepare the build (with Angular CLI):

       ng build --prod --bh /folder/

The default location where the build goes is the dist folder inside your project.

Keep also in mind to set a proper baseHref using the --bh flag if your app isn't running on domain root.

eg: ng build --prod --bh /AJ2CLIDemo/ This points to http://localhost/AJ2CLIDemo/

Deploy:

Create a virtual directory and copy-paste the content from the dist folder.