Passing environment variables to angular library
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.