title: Angular 5 show Environment and app version on UI
body: <p>Trying to show environment of my angular app in the UI, for example test, dev, prod (i have separate test-env.ts, prod-ev.ts, dev-test.ts), is there a specific approach to achieve this, i want to to show the app version also next to the environment(not CLI version) based on deployment , for example i will start with V1.0 i want to automatically increment it to V1.1 if a deployment is made.</p>
  
  <p>How to display environment when the app starts, i tried the following, but how determine different environments?</p>
  
  <pre><code>import { isDevMode } from '@angular/core';
  
  export class AppComponent { 
    constructor() {
      console.log(isDevMode());
    }
  }
  </code></pre>