Global

Decorator that makes a module global-scoped.

See more...


 @Global()

Parameters

There are no parameters.

Returns

ClassDecorator

See also

Description

Once imported into any module, a global-scoped module will be visible in all modules. Thereafter, modules that wish to inject a service exported from a global module do not need to import the provider module.