Why $scope is used in angularjs?



Why $scope is used in angularjs?..

Answer / Rajesh Singh

$scope in AngularJS serves as the glue between the controller and the view. It allows data binding and two-way communication between the model (controller) and the view.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How to initialize a select box with options on page load in angular js?

1 Answers  


How will you explain manual bootstrap process in angularjs?

1 Answers  


What are the ngmodule metadata properties?

1 Answers  


Explain $watch(), $watchgroup() and $watchCollection() functions of scope?

1 Answers  


What is routing concepts in angular 2?

1 Answers  


What is linking function? What are post linking and pre-linking functions?

1 Answers  


What is linking function?

1 Answers  


What do you mean by ng-template?

1 Answers  


Explain system.config.ts file used in angular?

1 Answers  


Explain what is dependency injection in angularjs?

1 Answers  


What are the purpose of @ngmodule?

1 Answers  


What is the difference between ng model and ng bind?

1 Answers  


Categories