Sign in
Log inSign up

How to define global variable for App so we can use in anywhere in angular 2 or 4?

Avinash Dalvi's photo
Avinash Dalvi
·Mar 1, 2018

I have list of constant which is not depend on environment. Its full of list of constant which i want to use in app life cycle. How to use this ? for environment variable i got solution but not for constants.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct