@@ -133,7 +133,7 @@ a#bootstrap
133
133
Angular offers a variety of bootstrapping options, targeting multiple platforms.
134
134
In this page we consider two options, both targeting the browser.
135
135
136
- ### Dynamic bootstrapping with the Just-In-Time (JIT ) compiler
136
+ ### Dynamic bootstrapping with the Just-in-time (JiT ) compiler
137
137
In the first, _dynamic_ option, the [Angular compiler](../cookbook/ngmodule-faq.html#q-angular-compiler "About the Angular Compiler")
138
138
compiles the application in the browser and then launches the app.
139
139
@@ -144,12 +144,12 @@ a#bootstrap
144
144
<live-example embedded plnkr="minimal.0" img="devguide/ngmodule/minimal-plunker.png">Try the live example.</live-example>
145
145
146
146
147
- ### Static bootstrapping with the Ahead-Of-Time (AOT ) compiler
147
+ ### Static bootstrapping with the Ahead-Of-time (AoT ) compiler
148
148
149
149
Consider the static alternative which can produce a much smaller application that
150
150
launches faster, especially on mobile devices and high latency networks.
151
151
152
- In the _static_ option, the Angular compiler runs ahead of time as part of the build process,
152
+ In the _static_ option, the Angular compiler runs ahead-of- time as part of the build process,
153
153
producing a collection of class factories in their own files.
154
154
Among them is the `AppModuleNgFactory`.
155
155
@@ -164,9 +164,10 @@ a#bootstrap
164
164
The application code downloaded to the browser is much smaller than the dynamic equivalent
165
165
and it is ready to execute immediately. The performance boost can be significant.
166
166
167
- Both the JIT and AOT compilers generate an `AppModuleNgFactory` class from the same `AppModule` source code.
168
- The JIT compiler creates that factory class on the fly, in memory, in the browser.
169
- The AOT compiler outputs the factory to a physical file
167
+ Both the JiT and AoT compilers generate an `AppModuleNgFactory` class from the same `AppModule`
168
+ source code.
169
+ The JiT compiler creates that factory class on the fly, in memory, in the browser.
170
+ The AoT compiler outputs the factory to a physical file
170
171
that we're importing here in the static version of `main.ts`.
171
172
172
173
In general, the `AppModule` should neither know nor care how it is bootstrapped.
0 commit comments