File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,9 @@ method or constructor function. These components can be injected with "service"
222
222
dependencies.
223
223
224
224
- The `run` and `config` methods accept a function, which can also be injected with "service"
225
- components as dependencies.
225
+ components as dependencies. Note that only providers and constants can be injected into configuration
226
+ blocks and only instances and constants can be injected into run blocks.
227
+ See [Modules](https://docs.angularjs.org/guide/module#module-loading-dependencies) for additional details.
226
228
227
229
- Controllers are defined by a constructor function, which can be injected with any of the "service"
228
230
components as dependencies, but they can also be provided with special dependencies. See "DI in
You can’t perform that action at this time.
0 commit comments