How to load properties file in Angular 12

30 views
Skip to first unread message

Ajit

unread,
Nov 5, 2021, 10:44:01 PM11/5/21
to Angular and AngularJS discussion
Hi All,

I would like to configure a environment specific properties file in my angular application and access properties whenever needed. 
When there are any change to the properties file it should be reloaded without any code change.
Where should be the properties file need to be placed and how to access from components/services.

Any sample code or link will be helpful and appreciated.


Thanks & Regards,
Ajit Dash



Reply all
Reply to author
Forward
0 new messages