Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
*ngTemplateOutlet with context
<ng-container *ngTemplateOutlet="template; context: contextObj">
</ng-container>
<ng-template #template let-food="donut">
{{food}}
</ng-template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.