Explain what is data binding in angularjs?



Explain what is data binding in angularjs?..

Answer / Ram Mohan

Data binding in AngularJS allows automatic synchronization of data between the model and view components. It ensures that when there is a change in the model, the view updates automatically, and vice versa. There are three types of data bindings: one-way, two-way, and property.nOne-Way Binding:n```htmln<div ng-bind='expression'>...</div>n```nTwo-Way Binding:n```htmln<input ng-model='expression'>...</input>n```nProperty Binding:n```htmln<div ng-style='{propertyName: expression}'>...</div>n``

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are the advantages of using angular 2 over angular 1?

1 Answers  


Does google own angular?

1 Answers  


How do you define transition between two states in angular?

1 Answers  


Please explain system.config.ts file used in angular?

1 Answers  


What is mvc in coding?

1 Answers  


Explain order by filter?

1 Answers  


Difference between promises and observable?

1 Answers  


Explain what is scope in angularjs?

1 Answers  


What is routerstatesnapshot?

1 Answers  


What are major changes in angular 2?

1 Answers  


What are angular classes?

1 Answers  


Explain the difference between a factory and a service in angularjs?

1 Answers  


Categories