I'm trying to include "parameters.js" file into my angular 4 project.
You can see below my "parameter.js" file content :
window.myKey = "http://webserviceUrl/"
I want to include this file in my project and get "myKey" value in a typescript file before loading web service datas. My "parameters.js" file as a specific structure and do not be changed (no json :'( ).
Is anyone as loading js into typescript with angular 4 ? How can i do that ?
Thanks for your help.