Now that you understand the components involved in an AngularJS application, you need to understand what happens during the life cycle, which has three phases—bootstrap, compilation, and runtime. Understanding the life cycle of an AngularJS application makes it easier to understand how to design and implement your code.
The three phases of the life cycle of an AngularJS application happen each time a webpage is loaded in the browser. The following sections describe these phases of an AngularJS application.