Skip to content

Instantly share code, notes, and snippets.

@t-palmer
Created July 18, 2018 22:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
ng-configuration App Component example
<h1>
Environment
</h1>
<pre>{{env | json}}</pre>
import { Component } from '@angular/core';
import { environment } from '../environments/environment';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
env = environment;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment