Upgrade Demo App to angular 2.0.0-rc.1

This commit is contained in:
Denys Vuika
2016-06-14 12:06:29 +01:00
parent a81378bcda
commit bcff692a7b
15 changed files with 98 additions and 77 deletions

View File

@@ -15,8 +15,9 @@
* limitations under the License.
*/
import { ElementRef, DynamicComponentLoader, Directive, Attribute } from 'angular2/core';
import { Router, RouterOutlet, ComponentInstruction } from 'angular2/router';
/*
import { ElementRef, DynamicComponentLoader, Directive, Attribute } from '@angular/core';
import { Router, RouterOutlet, ComponentInstruction } from '@angular/router-deprecated';
import { AlfrescoAuthenticationService } from 'ng2-alfresco-core/dist/ng2-alfresco-core';
@Directive({selector: 'auth-router-outlet'})
@@ -49,3 +50,4 @@ export class AuthRouterOutlet extends RouterOutlet {
|| this.authentication.isLoggedIn();
}
}
*/