Angular Top 10 Interview Questions

Angular Top 10 Interview Questions

Today, We want to share with you Angular Top 10 Interview Questions.
In this post we will show you Angular Top 10 Interview Questions, hear for Angular Top 10 Interview Questions we will give you demo and example for implement.
In this post, we will learn about Angular Top 10 Interview Questions with an example.

What is AngularJS?

AngularJS is a structural framework
-create RICH Internet Application (RIA).
-dynamic web apps.
-AngularJS is open source Front-end JavaScript framework.
-completely free.
-client side application.
-originally developed in 2009.
-Misko Hevery and Adam Abrons.

AngularJS List of Core Features

1)Data-binding -> Automatic “synchronization of data ” between model and view components.
2)Scope -> objects that refer to the model. -> glue between controller and view in angularjs.
3)Controller -> bound to a particular scope.
4)Services -> $https -> XMLHttpRequests
5)Filters -> array,json
6)Directives ->create custom HTML tags,ng-model,ng-app(markers on DOM elements)
7)Templates ->return view side with information from the controller and model.
8)Routing -> navigation or switch case
9) Deep Linking .
10)Dependency Injection .

READ :  Vuejs Introduction Advanced Features Hello World Example

Other Features of AngularJS

-> supports animation
-> open source
-> MVC pattern
-> two way data binding supports
-> code and script are unit testable
-> create (SPA)single page application
-> Validations supports
-> Modules supports
-> Directives supports
-> Templates supports
-> Expressions supports
-> Filters supports
-> Services supports
-> Routing supports
-> Dependency Injection supports

component can we create a custom directive?

-Element directives

AngularJS Advantages

-Dependency Injection:
-Two way data binding:
-easy to Testing:
-Model View Controller(MVC) Structure:

AngularJS Disadvantages

-JavaScript Dependent : end user disables JavaScript.
-Not Secured: Auth is not safe

Is AngularJS dependent on JQuery?

No. Beacuse : Itself used own libs used.

The usage of controllers in AngularJS

-> Set up initial basic state of the $scope object.
-> Add behavior to dependent the $scope object.

READ :  Angular Add and remove Active class on click ng toggle

What is data binding in AngularJS?

The Automatic simple synchronization of data pass to between model side and view side.

Types of data binding

There are two types of data binding.
-> One way data binding in angularjs (It is used in classical template.)
-> Two way data binding in angularjs (It is used in AngularJS template.)


Add a Comment

Your email address will not be published. Required fields are marked *