The first phase of the AngularJS life cycle is the bootstrap phase, which occurs when the AngularJS JavaScript library is downloaded to the browser. AngularJS initializes its own necessary components and then initializes your module, which the ng-app
directive points to. The module is loaded, and any dependencies are injected into your module and made available to code within the module.