How to access nodejs config parameter in angular side? <p>i have nodejs config file(backend) in which some configuration data is defined:</p> <pre><code>module.exports = { product: { name: 'Event' }, server: { host: '0.0.0.0', port: 8000 }, database: { host: '127.0.0.1', port: 27017, db: 'EventExchange', username: '', password: '' }, key:{ privateKey: 'dufediioeduedhn', tokenExpiry: 1*30*1000*60 //1 hour }, admin:{ "username" : "admssin", "password" : "adminss123", "scope" : "adamssin" } }; </code></pre> <p>i have to access <code>port</code> and <code>host</code> parameter in angular(client side). how is it posssible ? Thanks!</p>