Mastering Web Application

(Rick Simeone) #1

Packaging and Deploying AngularJS Web Applications



  • Loading JavaScript code on demand, as users navigate through an application.
    This effectively removes the need of loading application code upfront.

  • Using module definitions to figure out inter-module dependencies
    and package-required modules for the production deployment.


You can use AMD modules to load AngularJS library, all the third-party
dependencies, and the application's code before bootstrapping your application.
The benefit here is that you can load all the scripts asynchronously and avoid
blocking processing of the