Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add input to view
<label for="name">Enter Component Name</label>
<input type="text" id="name" [(ngModel)]="name" placeholder="Enter Dynamic Component Name">
<br />
<button (click)="addComponent()">Add Component</button>
<ng-container #container></ng-container>
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.