Added some upgrades to demo and added the component to demo shell

This commit is contained in:
Vito Albano
2016-09-22 01:14:15 +01:00
parent a8c7486a26
commit 3b6b8ed59b
11 changed files with 167 additions and 119 deletions

View File

@@ -6,6 +6,7 @@ import { HTTP_PROVIDERS } from '@angular/http';
import {
AlfrescoSettingsService,
AlfrescoAuthenticationService,
MDL,
ALFRESCO_CORE_PROVIDERS
} from 'ng2-alfresco-core';
@@ -31,7 +32,7 @@ import {
</p>
</div>
<div *ngIf="isLoggedIn()">
<ng2-alfresco-userinfo [userEmail]=userToLogin></ng2-alfresco-userinfo>
<ng2-alfresco-userinfo></ng2-alfresco-userinfo>
</div>
<p></p>
<div>
@@ -49,7 +50,7 @@ import {
<button (click)="logout()">Logout</button>`,
directives: [ UserInfoComponent ],
providers: [AlfrescoAuthenticationService, AlfrescoSettingsService]
providers: [AlfrescoAuthenticationService, AlfrescoSettingsService, MDL]
})