Skip to content

Instantly share code, notes, and snippets.

@rexar1988
Created August 1, 2020 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rexar1988/9f35bf73a32bf74afd8f1795da148ccb to your computer and use it in GitHub Desktop.
Save rexar1988/9f35bf73a32bf74afd8f1795da148ccb to your computer and use it in GitHub Desktop.
ng-template with context
<div class="template-content">
<ng-container [ngTemplateOutlet]="contact" [ngTemplateOutletContext]="context"></ng-container>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment