import { ELEMENT_PROBE_PROVIDERS , ELEMENT_PROBE_PROVIDERS_PROD_MODE } from 'angular2/platform/browser' ; import { enableProdMode } from 'angular2/core' ; let PROVIDERS = [ ] ; if ( 'production' === ENV ) { enableProdMode ( ) ; PROVIDERS = [ ... PROVIDERS , ELEMENT_PROBE_PROVIDERS_PROD_MODE ] ; } else { PROVIDERS = [ ... PROVIDERS , ELEMENT_PROBE_PROVIDERS ] ; } export const ENV_PROVIDERS = [ ... PROVIDERS ] ;