$rootScope

What Is Scopes In AngularJS?

The scope is the binding part between the JavaScript (controller) and the HTML (view).

5 years ago