Explain The Concept Of Scope Hierarchy? How Many Scopes Can An Application Have?
Answer Posted / Santosh Shakya
Scope hierarchy in AngularJS is a structure that defines the relationship between scopes. Each scope has its own $scope object, which acts as an interface for data binding and expression evaluation. There can be multiple nested scopes within an application, and each child scope inherits properties from its parent scope. However, it's important to note that changes made in a child scope do not automatically propagate up to the parent scope unless $broadcast or $emit is used.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can primeng be used with angular2?
How an object or function can get a hold of its dependencies?
Give the example of angularjs strings?
How to get and log an error in angular 4?
How to implement a datagrid table with angular 2 and primeng?
What is a dynamic route in angularjs and how do you implement it?
What is the latest version of angular?
Angularjs dependency injection of value inside of the module.config?
How to use primeng in angular 4?
How to create angularjs filter which outputs html?
Which version you are using js?
How to enable html5 mode in angular 1.x?
What is the latest angular?