Three directive scopes are available in AngularJS.
They are:
1. Parent scope: Whatever change you make in your directive that comes from the parent scope, will also reflect in the parent scope, and it is also a default scope.
2. Child scope: It is a nested scope that inherits a property from the parent scope. Also, if any properties and function on the scope are not connected with the parent scope directive, then a new child scope directive is created.
3. Isolated scope: It is reusable and is used when we build a self-contained directive. It is only used for private and internal use which means that it does not contain any properties of the parent scope.
Posted Date:- 2021-08-25 09:30:50
What is the factory function in AngularJS?
How are AngularJS prefixes $ and $$ used?
Explain the linking function and its types
Explain the differences between one-way binding and two-way binding.
What is the digest cycle in AngularJs?
Explain directives and their types
What is string interpolation in Angular.JS ?
Difference between JavaScript and ECMAScript?
Explain Eager loading in Angular
What is the controller in AngularJS ?
What are the different types of component decorators in Angular 4?
Describe the use of TypeScript in Angular 4?
What is deep linking in Angular 4?
Describe ElementRef in Angular 4?
10) What is internationalization in Angularjs ?
How do you share data between controllers in AngularJs ?
Describe different types of binding in Angular 4?
What is Unit Testing in Angular 4?
How can we share the data between controllers in AngularJS?
Why to use AngularJS Global Object services?
What are the directive scopes in AngularJS?
Write all the steps to configure an Angular App(ng-app).
How can digest cycle time be decreased?
How can a SPA be implemented in AngularJS?
What is a Single Page Application (SPA)?
What are the benefits of dependency injection?
Explain e2e testing of AngularJS applications.
Explain what the link function is and how it differs from compile.
Explain what a digest cycle is in AngularJS.
In what ways can you use a directive?
Distinguish between AngularJS and JavaScript expressions.
What is data binding in AngularJS and What is the difference between one-way and two-way binding?
Explain the concept of scope hierarchy.
Explain what is Dependency Injection in AngularJS?
How to use Currency Filter in AngularJS
What is currency filter in AngularJS
What are expressions in AngularJS?
Define the features of AngularJS.