I am going to develop a simple Angular 2 application. I have created a project with routing, using Angular CLI and added several components to the app using \'ng generate co
You should try specifying the url in the build from the point the app should initialize:
Ng build --prod --base-href="http://your.url.com/subdirectory/etc"