trainingtrains Logo

91-9990449935

 0120-4256464

AngularJS Scopes

The Scope is an object that is specified as a binding part between the HTML (view) and the JavaScript (controller). It plays a role of joining controller with the views. It is available for both the view and the controller.


How to use Scope

To make a controller in AngularJS, you have to pass the $scope object as an argument.

See this example:

Test it Now