0% found this document useful (0 votes)
39 views1 page

Using The: Configservice Configservice Configmodule Isglobal Configmodule - Forroot True

The ConfigService allows accessing configuration values by injecting the ConfigService. The ConfigModule containing the ConfigService must be imported into any module using it, unless isGlobal is set to true when calling ConfigModule.forRoot(). The ConfigModule should be imported into a feature module to use the ConfigService.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views1 page

Using The: Configservice Configservice Configmodule Isglobal Configmodule - Forroot True

The ConfigService allows accessing configuration values by injecting the ConfigService. The ConfigModule containing the ConfigService must be imported into any module using it, unless isGlobal is set to true when calling ConfigModule.forRoot(). The ConfigModule should be imported into a feature module to use the ConfigService.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Using the ConfigService#

To access configuration values from our ConfigService, we first need to


inject ConfigService. As with any provider, we need to import its containing module
- the ConfigModule - into the module that will use it (unless you set
the isGlobal property in the options object passed to
the ConfigModule.forRoot() method to true). Import it into a feature module as
shown below.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy