Closed nasihere closed 8 years ago
Step1
.subscribe( res => { this.repertoryList = (<any>res)[0].repertory; this.arrayOfKeys = Object.keys(this.repertoryList); }, null, () => { this.isLoading = false; }) }
html <div *ngFor='#key of arrayOfKeys'> <ul class="list-group " *ngFor ="#item of repertoryList[key]">
<div *ngFor='#key of arrayOfKeys'> <ul class="list-group " *ngFor ="#item of repertoryList[key]">
Step1
.subscribe( res => { this.repertoryList = (<any>res)[0].repertory; this.arrayOfKeys = Object.keys(this.repertoryList); }, null, () => { this.isLoading = false; }) }
html
<div *ngFor='#key of arrayOfKeys'> <ul class="list-group " *ngFor ="#item of repertoryList[key]">