Skip to content

Instantly share code, notes, and snippets.

@natmegs
Created January 8, 2018 23:08
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 natmegs/01df668e02ea3ecc3d937ee3ea92e478 to your computer and use it in GitHub Desktop.
Save natmegs/01df668e02ea3ecc3d937ee3ea92e478 to your computer and use it in GitHub Desktop.
Using *ngTemplateOutlet
<ng-container *ngTemplateOutlet="template">
</ng-container>
<ng-template #template>
Hello!
</ng-template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment