How to include git revision into angular-cli application? : <p>I need to display git revision on my angular2 application's about page. The project is based on angular-cli.</p>

<p>How can build be extended so git revision is put for example into <code>environment.ts</code> or other place accessible to application?</p>
