Skip to content

Instantly share code, notes, and snippets.

@ElAndy94
Last active July 30, 2018 14:24
Show Gist options
  • Save ElAndy94/fa78b5b25a73716e2c32045c6c6be1ff to your computer and use it in GitHub Desktop.
Save ElAndy94/fa78b5b25a73716e2c32045c6c6be1ff to your computer and use it in GitHub Desktop.
<div *ngFor="let post of posts;">
<ng-template [ngIf]="post.id === id">
<strong id="stronger">{{ post.header }}</strong>
<div id="scrollable" #thePostTest>
{{ postIWant }}
</div>
<div class="myStyle">
References to the above paper and or extra reading material can be found below:
</div>
<br>
<div>
{{ reference }}
</div>
<br>
</ng-template>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment