mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-18 12:08:17 +08:00
docs(angular.module): improve angular.Module#run docs
This commit is contained in:
committed by
Igor Minar
parent
80927c5811
commit
5ee3bbee90
@@ -215,8 +215,8 @@ function setupModuleLoader(window) {
|
||||
* @param {Function} initializationFn Execute this function after injector creation.
|
||||
* Useful for application initialization.
|
||||
* @description
|
||||
* Use this method to register work which needs to be performed when the injector with
|
||||
* with the current module is finished loading.
|
||||
* Use this method to register work which should be performed when the injector is done
|
||||
* loading all modules.
|
||||
*/
|
||||
run: function(block) {
|
||||
runBlocks.push(block);
|
||||
|
||||
Reference in New Issue
Block a user