mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 00:10:14 +01:00
angular updated to rc1
This commit is contained in:
parent
61d86e7e3d
commit
0dfcf86787
53 changed files with 145 additions and 121 deletions
|
|
@ -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 }
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue