mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
committed by
Pete Bacon Darwin
parent
93132b96bf
commit
88e35fa8d6
@@ -147,8 +147,7 @@ for most cases. In advanced cases, such as when using script loaders, you can us
|
|||||||
|
|
||||||
There are 3 important things that happen during the app bootstrap:
|
There are 3 important things that happen during the app bootstrap:
|
||||||
|
|
||||||
1. The {@link api/AUTO.$injector injector} that will be used for dependency injection
|
1. The {@link api/AUTO.$injector injector} that will be used for dependency injection is created.
|
||||||
when this app is created.
|
|
||||||
|
|
||||||
2. The injector will then create the {@link api/ng.$rootScope root scope} that will
|
2. The injector will then create the {@link api/ng.$rootScope root scope} that will
|
||||||
become the context for the model of our application.
|
become the context for the model of our application.
|
||||||
|
|||||||
Reference in New Issue
Block a user