← BYTES
AngularJS·Starter·Ref: 5.1.16

What is $rootScope?

Have a question about this video? Mention reference 5.1.16 when you contact us.

a.The top-level scope that every other scope in the application ultimately inherits from, created when the app bootstraps
b.A scope that only exists in unit tests
c.A deprecated alias for $scope
d.A scope reserved only for form validation
Every AngularJS application has exactly one $rootScope, and every other scope created in that application (one per controller, per ng-repeat item, etc.) is a descendant of it in a prototypal inheritance chain.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES5116#AngularJS