Currently am implementing my User interface code using the advanced ui framework like an angular of version 2 and 4.
When ever i want to deploy the code to the server i need to build the project by issuing the following command "ng build --prod" so many chunk files are being generated.
I would like to know why those chunk files are generated.
Those chunks are made by webpack and they are used to load your code from the server to your browser.
You can read more about the integration with Angular in the official Angular docs on Webpack.