DEV Community

Dhanush
Dhanush

Posted on โ€ข Edited on

5 3 1 1

ngModel in Angular

Image description

In app.component.html:

<input [(ngModel)]="CopyText">
<strong>{{CopyText}}</strong>
<input type="text " value="{{CopyText}}">
Enter fullscreen mode Exit fullscreen mode

The ng-model directive binds the value of HTML controls (input, select, textarea) to application data. With the ng-model directive you can bind the value of an input field to a variable created in Angular. The binding goes both ways. If the user changes the value inside the input field, the Angular property will also change its value

Reference: https://www.c-sharpcorner.com/article/ngmodel-in-angular-with-example/

Top comments (0)

Image of Docusign

๐Ÿ› ๏ธ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more