<!-- All contents in the first page -->
<a (click)="scrollToId(model.id,page)">{{path + ' ' + model.title}}</a>


<!-- All contents in the first page -->
<ul>
    <li *ngFor="let sectionModel of model.sections let i = index">
        <app-table-of-contents-section [page]='page' [model]="sectionModel" [index]="i" [path]="path+'.'+(i+1)"> </app-table-of-contents-section>
    </li>
</ul>
