mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-22 18:30: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,18 +2,13 @@
|
|||
* These are globally available services in any component or any other service
|
||||
*/
|
||||
|
||||
|
||||
import {provide} from 'angular2/core';
|
||||
|
||||
// Angular 2
|
||||
import {FORM_PROVIDERS} from 'angular2/common';
|
||||
import {FORM_PROVIDERS, LocationStrategy, HashLocationStrategy} from '@angular/common';
|
||||
|
||||
// Angular 2 Http
|
||||
import {HTTP_PROVIDERS} from 'angular2/http';
|
||||
import {HTTP_PROVIDERS} from '@angular/http';
|
||||
// Angular 2 Router
|
||||
import {ROUTER_PROVIDERS} from 'angular2/router';
|
||||
|
||||
import {LocationStrategy, PathLocationStrategy} from 'angular2/platform/common'
|
||||
import {ROUTER_PROVIDERS} from '@angular/router-deprecated';
|
||||
|
||||
/*
|
||||
* Application Providers/Directives/Pipes
|
||||
|
|
@ -23,7 +18,7 @@ export const APPLICATION_PROVIDERS = [
|
|||
...FORM_PROVIDERS,
|
||||
...HTTP_PROVIDERS,
|
||||
...ROUTER_PROVIDERS,
|
||||
provide(LocationStrategy, { useClass: PathLocationStrategy })
|
||||
{provide: LocationStrategy, useClass: HashLocationStrategy }
|
||||
];
|
||||
|
||||
export const PROVIDERS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue