Passing environment variables to angular library
16:05 20 Apr 2017

I've created company internal library using angualr2-library yeoman generator.

Some of the angular services are using environment variables in our current applications (API endpoints are changed on each env). I was wondering how to pass the current environment object to the angular2 library services.

angular angular-cli