4

Is it possible to get a data from system environmet variable in run time using Angular. if yes how can we do this ?

ex: Let say i set a value in environemnt varable

enter image description here

So is it possible to get in angular from system environment variable in run time?

Sangram Badi
  • 4,054
  • 9
  • 45
  • 78

1 Answers1

6

The answer is no.

Environment variables are not exposed to JavaScript, they are used during build time only.

Steven Stark
  • 1,249
  • 11
  • 19