AngularJS Developer Question:
Download Questions PDF

Explain me what is data binding in AngularJS? How does it relate to the MVC architecture?

Answer:

In most templating systems, data binding is unidirectional. When the model and template components are merged together, it creates a view. However, the developer must write code to constantly synchronize the model and the view. AngularJS uses two-way data binding, where any changes to the view will automatically update the model and vice versa. The view is more or less just a projection of the model, which greatly simplifies things from the programmer’s perspective.

Download AngularJS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what is the role of services in AngularJS and name any services made available by default?Please explain what is Angular Expression? Explain what is key difference between angular expressions and JavaScript expressions?