AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS Scopes

AngularJS Scope



The scope is the binding part between the view and the controller. A scope is an object with available properties and methods. When we create a controller in AngularJS, we pass a score or $scope object as an argument to it. When adding properties to the $scope object in the controller, the view (HTML) gets access to these properties. We can use them by just calling the property's names.


For your Information:-


If we consider an AngularJS application contains:-

  • View, which is the HTML.
  • Model, which is the data available for the current view.
  • Controller, which is the JavaScript function that makes/changes/removes/controls the data.

Then, scope will be a model.

Code Explanation

All Tutorials related to AngularJS Tutorials

All Sections related to AngularJS