This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,14 +197,14 @@ Then Angular applies configuration blocks in the same order they were registered
197
197
## Run Blocks
198
198
199
199
Run blocks are the closest thing in Angular to the main method. A run block is the code which
200
- needs to run to kickstart the application. It is executed after all of the service have been
200
+ needs to run to kickstart the application. It is executed after all of the services have been
201
201
configured and the injector has been created. Run blocks typically contain code which is hard
202
202
to unit-test, and for this reason should be declared in isolated modules, so that they can be
203
203
ignored in the unit-tests.
204
204
205
205
## Dependencies
206
206
207
- Modules can list other modules as their dependencies. Depending on a module implies that required
207
+ Modules can list other modules as their dependencies. Depending on a module implies that the required
208
208
module needs to be loaded before the requiring module is loaded. In other words the configuration
209
209
blocks of the required modules execute before the configuration blocks of the requiring module.
210
210
The same is true for the run blocks. Each module can only be loaded once, even if multiple other
You can’t perform that action at this time.
0 commit comments