Javatpoint Logo
Javatpoint Logo

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



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA