# Important Interview Questions And Answers For Angularjs



# Mostly Asked [Interview Questions For AngularJS](https://blog.geekster.in/angularjs-interview-questions-and-answers/)

**Question 1. What is MVC?**

Answer. It is the most commonly used design pattern in software development. It consists of 3 parts–Model, view and controller where the model is the lowest level of pattern that maintains data. The view is what the user sees and the controller is the code that controls the interaction between the view and the model. 

**Question 2. Explain Data-binding and how it relates to MVC architecture?**

Answer. Data binding is the automatic syncing of data between model and view components. AngularJS uses ng-model and ng-bind built-in directives to achieve this. The directive ensures that the view and model are constantly synchronised. There are 2 ways of data binding: one-way data binding and two-way data binding.

In one-way data binding, the changes in the model are reflected in the view but changes in the view are not reflected in the model. In two-way data binding, changes in either are reflected onto another. 
