Interface for configuring angular modules
.
Use this method to register work which needs to be performed on module loading.
configFn – {Function} –
Execute this function on module load. Useful for service configuration.
See $provide.factory()
.
name – {string} –
service name
providerFunction – {Function} –
Function for creating new instance of the service.
See $filterProvider.register()
.
name – {string} –
filterr name
filterFactory – {Function} –
Factory function for creating new instance of filter.
Use this method to register work which needs to be performed when the injector with with the current module is finished loading.
initializationFn – {Function} –
Execute this function after injector creation. Useful for application initialization.
See $provide.service()
.
name – {string} –
service name
providerType – {Function} –
Construction function for creating new instance of the service.
See $provide.value()
.
name – {string} –
service name
object – {*} –
Service instance object.
{string}
– Name of the module.
Holds the list of modules which the injector will load before the current module is loaded.
{Array.<string>}
– List of module names which must be loaded before this module.