Building the detail view - lennartdeknikker/frontend-applications GitHub Wiki
The detail view saves the passed on statue in a new variable with this line:
@Input() statue: Statue;
Then it only needs to show the data in the template, which can be achieved using angular directives and declarations:
<div *ngIf="statue">
<h2>{{statue.title.value}}</h2>
<h3>{{statue.creationDate.value}}</h3>
<h4>{{statue.extent.value}}</h4>
<div class="picture-and-description">
<img class="detail-picture" src="{{statue.imageLink.value}}" alt="statue.title.value">
<p>
{{statue.description.value}}
</p>
</div>
</div>