angular aot or jit code example
Example: angular build aot vs jit
Just-in-Time (JIT), compiles your app in the browser at runtime.
Ahead-of-Time (AOT), compiles your app at build time on the server.
ng build --prod --> JIT
ng build --aot --> AOT