Angular uses JUST IN TIME (JIT) compilation while running production build. It shows Angular
processes your inputs at runtime.
This action has two negative impacts. Much before your application is used, the compilation
process starts working. The loading time of your app in the browser is dramatically
increased too. Secondly, it forces us to ship Angular compiler, which is quite tough due to
its large volume of modules.
But, using AOT (ahead of time) compilation, we can set out time once when developing our
application. This does not ask for transit of the Angular compiler. Instead of that, it only
requires sending complied templates. With this, we can reduce application of Angular
compiler, while skipping the compilation procedure. As a result, the whole act increases the
loading time of Angular application into the browser.