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.
Because the constant are fixed, they get applied before other provide methods.
See $provide.constant()
.
name – {string} –
constant name
object – {*} –
Constant value.
See $controllerProvider.register()
.
name – {string} –
Controller name.
constructor – {Function} –
Controller constructor function.
See $compileProvider.directive()
.
name – {string} –
directive name
directiveFactory – {Function} –
Factory function for creating new instance of directives.
See $provide.factory()
.
name – {string} –
service name
providerFunction – {Function} –
Function for creating new instance of the service.
See $filterProvider.register()
.
name – {string} –
Filter name.
filterFactory – {Function} –
Factory function for creating new instance of filter.
See $provide.provider()
.
name – {string} –
service name
providerType – {Function} –
Construction function for creating new instance of the service.
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
constructor – {Function} –
A constructor function that will be instantiated.
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.