Last active
October 21, 2018 19:21
-
-
Save adrianfaciu/f25d269e2e3875204d6e1fb11fbe6852 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ng-container *ngIf="data.text; else templateRef"> | |
{{ data.message }} | |
</ng-container> | |
<ng-template #templateRef> | |
<ng-container *ngTemplateOutlet="data.template; context: data.templateContext"> | |
</ng-container> | |
</ng-template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment