Explain what is a “$scope” in AngularJS

Technology CommunityCategory: AngularJSExplain what is a “$scope” in AngularJS
VietMX Staff asked 3 years ago

Scope is an object that refers to the application model. It is an execution context for expressions. Scopes are arranged in hierarchical structure which mimic the DOM structure of the application. Scopes can watch expressions and propagate events. Scopes are objects that refer to the model. They act as glue between controller and view.