AngularJS Question:
Download Questions PDF

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

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between angular.js and backbone.js?What is AngularJS?