Skip navigation

On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

Implementing two-way binding

Implementing two-way binding: Angular2 for .NET Developers
Implementing two-way binding: Angular2 for .NET Developers

To show a component class property in the template and update that property when the user makes a change requires two-way binding. To specify two-way binding in Angular, we use the ngModel directive. We enclose ngModel in square brackets to show property binding from the class property to the input element, and parentheses to dend a notification of the user-entered data back to the class property. We demo this two-way binding between the search input box & the SEARCHING label.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 41m
Duration
121,415
Views
Show More Show Less
Skills covered in this course
Development Tools Developer Angular Visual Studio

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now