Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
Numbers And Strings
Objects And Array
AngularJS VS JavaScript
Controllers in Files
Load the Library
AngularJS Directives
Repeating Directive
AngularJS Facts
Create Directives
Restrict Directive
Custom Filter
AngularJS Services
AngularJS Service 2
AngularJS Tables
Select Option
Select Option 2
AngularJS Forms
Form Validation
Validation CSS
Validation Example
AngularJS API
AngularJS $http
AngularJS Database
AngularJS HTML DOM
AngularJS Events
Custom Validation
AngularJS Tutorial
AngularJS Introduction
Angular init Directive
AngularJS Expressions 1
AngularJS Applications
AngularJS Expressions 2
Angular CSS Properties
AngularJS JSON
AngularJS Modules
Controller Basic
Add a Directive
Model Directive
Validate Inputs
CSS Classes
Data Binding
AngularJS Controller
AngularJS Scope
Root of Scope
AngularJS Filters
 


  

 
Data Binding
Question Posted on 12 Apr 2020

Home >> Tutorial >> AngularJS >> Data Binding


Data Binding
In angularJS data binding is the synchronization between the Model

and the View. In most of the cases in AngularJS applications have a

data model. Data Model is collection of data available for the

application.

HTML View
HTML container where we display the AngularJS application is called view. ANd this view has access to the model. And we have some more option to displaying model data in the view. We can use ng-bind directive which help us to bind the innerHTML of the element to the specified model property. We can use ng-model directive on HTML controls to bind the model to the view.

Two-way Binding
As we knows that AngularJS is the sync between model and view. When data in model changes the view reflects the changes. And when data in view changes the model is also updated as well. This happen very quick time and automatically. And this will make sure that model and the view is updated at all times.





Other Important Questions
Numbers And Strings
Objects And Array
AngularJS VS JavaScript
Controllers in Files
Load the Library







 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |