Easy and straightforward data-binding

Data bindings are done on the DOM, which allows you to easily sync data between various parts of the DOM in a very succint matter.

<body ng-app>
    <span>Insert your name:</span>
    <input type="text" ng-model="user.name" />
    <h3>Echo: {{user.name}}</h3>
</body>

This snippet shows how the model attribute "name" is easily bound across different parts of the DOM without having to set up any extra boilerplate.

Endi Sukaj
@endi-sukaj
9 years ago
Easy and straightforward data-bindingTwo-way data binding
Two-way dData binding "...is the automatics are done on the DOM, which allows you to easily synchronization of data between the model and view components.." This means that the model will contain all the information, the view will display the information and when the model changes, the view updates, and vice versa.various parts of the DOM in a very succint matter. <body ng-app> <span>Insert your name:</span> <input type="text" ng-model="user.name" /> <h3>Echo: {{user.name}}</h3> </body> This snippet shows how the model attribute "name" is easily bound across different parts of the DOM without having to set up any extra boilerplate.

Alex
@lagoo
9 years ago

Two-way data binding "...is the automatic synchronization of data between the model and view components.." This means that yourthe model will contain all the information, the view will display the information. W and when the model changes, the view updates, and vice versa.

undefinedurl nextprice drop