2017-12-05 17:56:21 +01:00
|
|
|
<!-- All contents in the first page -->
|
|
|
|
<a (click)="scrollToId(model.id)">{{path+' '+model.title}}</a>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li *ngFor="let groupModel of model.fieldGroups let i = index">
|
|
|
|
<table-of-contents-group [model]="groupModel" [index]="i" [path]="path+'.'+(i+1)"> </table-of-contents-group>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- All contents in the first page -->
|
|
|
|
<ul>
|
2017-12-06 13:16:31 +01:00
|
|
|
<li *ngFor="let sectionModel of model.sections let i = index">
|
|
|
|
<table-of-contents-section [model]="sectionModel" [index]="i" [path]="path+'.'+(i+1)"> </table-of-contents-section>
|
|
|
|
</li>
|
|
|
|
</ul>
|