I am new to AngularJs, and hence i am curious about all the features it has to offer.
When i read about two way binding, I felt like experimenting it on 2 Textboxes. Where I would enter text into 1st Textbox and at the same type i can see the same text being reflected in the 2nd textbox. I searched the web for such examples of 2 way binding, but could only find examples of textbox and span.
So could anyone help me? this is what i tried
<html ng-app="myapp">
<div ng-bind="">
<input type="text" ng-model="name" >
<input type="text" ng-bind="name" >
</div>
</html>
and also
<input type="text" ng-model="name" >
<input type="text" ng-value="name" >
and
<input type="text" ng-model="name" >
<input type="text" ng-value={{name}} >
But nothing seems to work.