Environment declaration in angular 4

9 views
Skip to first unread message

Nirbhay Kumar

unread,
Mar 16, 2018, 7:41:03 AM3/16/18
to Angular and AngularJS discussion

Needed to set environment for qa, prod and dev in angular 4 project.


Can someone suggest where do we declare keys (google map+analytics) so that app could pick up keys as per environment?


Tried with declaring variable in environment.ts but unclear how to use it in index.html?

Nirbhay Kumar

unread,
Mar 16, 2018, 7:41:03 AM3/16/18
to Angular and AngularJS discussion
Reply all
Reply to author
Forward
0 new messages