AngularJS Question: Download AngularJS PDF

What are the concept of scope hierarchy? Tell me how many scope can an application have?

Tweet Share WhatsApp

Answer:

Each angular application consist of one root scope but may have several child scopes. As child controllers and some directives create new child scopes, application can have multiple scopes. When new scopes are formed or created they are added as a children of their parent scope. Similar to DOM, they also creates a hierarchical structure.

Download AngularJS PDF Read All 57 AngularJS Questions
Previous QuestionNext Question
Can you please explain the difference between angular.js and backbone.js?What is AngularJS?