ng-template element does not display it's content to the browser. Instead, you can use ng-container and pass it the template to use. ng-container in turn, renders the template. Here is an example of ng-container displaying the greeting ng-template: <...

Markdown supported · ⌘↵ to post
No responses yet.