To create a production package, which is then served by an HTTP server, you must use a collection such as angular-cli or webpack . The connector creates all the necessary files that are in the htdocs directory. Typically, Angular applications are completely disconnected from your server server, so there should be no JBoss or Tomcat features.
The Angular team will increasingly focus on angular-cli as the main bundling solution, so it would be nice to start there.
source share