“$rootScope” is a parent object of all “$scope” angular objects created in a web page.
$scope is created with ng-controller
while $rootscope is created with ng-app
.
More Related Contents:
- What is Hungarian Notation? [duplicate]
- How do I bind to list of checkbox values with AngularJS?
- AngularJS Error: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https
- Recursion in Angular directives
- how to split the ng-repeat data with three columns using bootstrap
- What is the correct syntax of ng-include?
- What is the difference between compile and link function in angularjs
- AngularJS – ng-disabled not working for Anchor tag
- AngularJS – how to get an ngRepeat filtered result reference
- What is the $$ (double dollar sign) used for in angular?
- How do you serve a file for download with AngularJS or Javascript?
- Angular 2: Callback when ngFor has finished
- adding and removing classes in angularJs using ng-click
- How does the $resource `get` function work synchronously in AngularJS?
- show validation error messages on submit in angularjs
- How do I set default value of select box in angularjs
- ‘load’ event not firing when iframe is loaded in Chrome
- Changing route doesn’t scroll to top in the new page
- Is AngularJS just for single-page applications (SPAs)?
- Using Inline Templates in AngularJS
- HTTP request from Angular sent as OPTIONS instead of POST
- Required attribute Not working with File input in Angular Js
- Including SVG template in Angularjs directive
- How can I listen for a click-and-hold in AngularJS?
- Why do angularjs controller declaration have this syntax structure?
- AngularJS ng-src inside of iframe
- WARNING: Tried to load angular more than once. Angular JS
- Scope issues with Angular UI modal
- Run jQuery code after AngularJS completes rendering HTML
- Use underscore inside Angular controllers