I have faced same issue, first thing to check is whether those js files are coming to dist folder or not along with other files. Second thing is while building if any dependency is causing issue, if yes, it wont copy further dependencies like angular core, it will log info on where it is going wrong.