angular updated to rc1

This commit is contained in:
nixa 2016-05-11 17:38:01 +03:00
parent 61d86e7e3d
commit 0dfcf86787
53 changed files with 145 additions and 121 deletions

View file

@ -1,11 +1,5 @@
// Angular 2 browser
import {
ELEMENT_PROBE_PROVIDERS,
ELEMENT_PROBE_PROVIDERS_PROD_MODE
} from 'angular2/platform/browser';
// Angular 2
import {enableProdMode} from 'angular2/core';
import {enableProdMode} from '@angular/core';
// Environment Providers
let PROVIDERS = [];
@ -15,15 +9,13 @@ if ('production' === ENV) {
enableProdMode();
PROVIDERS = [
...PROVIDERS,
ELEMENT_PROBE_PROVIDERS_PROD_MODE
...PROVIDERS
];
} else {
// Development
PROVIDERS = [
...PROVIDERS,
ELEMENT_PROBE_PROVIDERS
...PROVIDERS
];
}