To deploy an Angular 2/4 application onto web hosting, you can follow these steps:First, build your Angular application using the ng build command. This will bundle your project files and assets into a dist folder which contains the production-ready code.Next, access your web hosting server via FTP, SSH, or other appropriate means to upload the contents of the dist folder to your server. Make sure to upload all files and folders within the dist directory.