Juri Strumpflohner

Juri is a full stack developer and tech lead with a special passion for the web and frontend development. He creates online videos for Egghead.io, writes articles on his blog and for tech magazines, occasionally speaks at conferences and holds training workshops.

Learn how to leverage the true power of AoT compilation with the CLI

In our previous video we learned how to use the Angular CLI to create our first Angular application. Now it's time to prepare it for production. That requires some building, bundling, minifying and "Ahead of Time" compilation. In this video we will learn how simple it can be by using the Angular CLI.

UPDATE (March 1st, 2017) - The Angular CLI now automatically builds with AoT enabled if you use the --prod flag. So there’s no need to add it explicitly. The --aot flag still remains though if you wanted to use AoT in dev mode for instance.