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

@ -2,10 +2,10 @@
* These are globally available directives in any template
*/
import {provide, PLATFORM_DIRECTIVES} from 'angular2/core';
import {PLATFORM_DIRECTIVES} from '@angular/core';
// Angular 2 Router
import {ROUTER_DIRECTIVES} from 'angular2/router';
import {ROUTER_DIRECTIVES} from '@angular/router-deprecated';
// application_directives: directives that are global through out the application
export const APPLICATION_DIRECTIVES = [
@ -13,5 +13,5 @@ export const APPLICATION_DIRECTIVES = [
];
export const DIRECTIVES = [
provide(PLATFORM_DIRECTIVES, { multi: true, useValue: APPLICATION_DIRECTIVES })
{provide: PLATFORM_DIRECTIVES, multi: true, useValue: APPLICATION_DIRECTIVES }
];