Angular2 Read from Configuration File
<p>I'm making a new angular2 application which will hit an endpoint on all of our applications on all of our servers to get build numbers, and then it will display them in a grid so we can see which servers have which build numbers. </p>

<p>When I built a similar application using Angular1, I was able to use <a href="https://www.npmjs.com/package/gulp-ng-config" rel="nofollow">gulp-ng-config</a> to read a JSON file and output an angular module with the values from the JSON.  I'm looking to do something similar in Angular2, but I have no idea how to accomplish this.  Any ideas? </p>