Test PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 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