Monday 2 January 2017

100 TOP AngularJs Interview Questions and Answers pdf



AngularJS Interview Questions and Answers

List of AngularJS interview questions to help you prepare for your AngularJS technical interview, Read the most frequently asked 100 top AngularJS Interview Questions and Answers for freshers and experienced pdf

AngularJS Interview Questions and Answers List

1. What is Angular.js?
 AngularJS is open source client side MV* (Model – View – Whatever) framework for creating dynamic web applications. It gives life to your static HTML and makes it dynamic with its magic. It extends HTML using directives, expression and data binding techniques to define a powerful HTML template. 

2. Explain what are the key features of Angular.js ?
 The key features of angular.js are
    Scope
    Controller
    Model
    View
    Services
    Data Binding
    Directives
    Filters
    Testable

3. Explain what is scope in Angular.js ?
 Scope refers to the application model, it acts like glue between application controller and the view.  Scopes are arranged in hierarchical structure and impersonate the DOM ( Document Object Model) structure of the application.  It can watch expressions and propagate events.

4. Explain what is services in Angular.js ?
 In angular.js services are the singleton objects or functions that are used for carrying out specific tasks.  It holds some business logic and these function can be called as controllers, directive, filters and so on.

5. Explain what is Angular Expression? Explain what is key difference between angular expressions and JavaScript expressions?
 Like JavaScript,  Angular expressions are code snippets that are usually placed in binding such as {{ expression }}
The key difference between the JavaScript expressions and Angular expressions
    Context : In Angular, the expressions are evaluated against a scope object, while the Javascript expressions are evaluated against the global window
    Forgiving: In Angular expression evaluation is forgiving to null and undefined, while in Javascript undefined properties generates TypeError or ReferenceError
    No Control Flow Statements: Loops, conditionals or exceptions cannot be used in an angular expression
    Filters: To format data before displaying it you can use filters

6. With options on page load how you can initialize a select box ?
 You can initialize a select box with options on page load by using ng-init directive

    <div ng-controller = “ apps/dashboard/account ” ng-switch
    On = “! ! accounts” ng-init = “ loadData ( ) ”>

7. Explain what are directives ? Mention some of the most commonly used directives in Angular.js application ?
 A directive is something that introduces new syntax, they are like markers on DOM element which attaches a special behavior to it. In any Angular.js application, directives are the most important components.
Some of the commonly used directives are ng-model, ng-App, ng-bind, ng-repeat , ng-show etc.

8. Mention what are the advantages of using Angular.js ?
 Angular.js has several advantages in web development.

    Angular.js supports MVS pattern
    Can do two ways data binding using Angular.js
    It has per-defined form validations
    It supports both client server communication
    It supports animations

9. Explain what Angular JS routes does ?
 Angular js routes enable you to create different URLs for different content in your application.  Different URLs for different content enables user to bookmark URLs to specific content.  Each such bookmarkable URL in Angular.js is called a route
A value in Angular JS is a simple object.  It can be a number, string or JavaScript object.  Values are typically used as configuration injected into factories, services or controllers. A value should be belong to an Angular.js module.
Injecting a value into an Angular.js controller function is done by adding a parameter with the same name as the value

10. Explain what is data binding in Angular.js ?
 Automatic synchronization of data between the model and view components is referred as data binding in Angular.js.  There are two ways for data binding

    Data mining in classical template systems

7 comments:

  1. Hi There,


    Thank you for making your blogs an embodiment of perfection and simplicity. You make everything so easy to follow.
    I want discuss some problem which facing in my project.
    I have a large application with multiple modules and large database,
    which is developed in asp.net .
    We have done lots of changes on that so speed and reporting is very slow.
    So I want suggession to you. in my application,should I use angularjs or mvc.

    Once again thanks for your tutorial.


    Ciao,
    Bunny

    ReplyDelete
  2. Thank you for sharing this useful blog. It will help to improve my career. Also, it is a wonderful blog for everyone.
    AngularJS Training in Chennai | AngularJS Course in Chennai | AngularJS Training Institute in Chennai | Angular 2 Training in Chennai

    ReplyDelete
  3. Thanks to Admin for Sharing such useful Information. I really like your Blog. Addition to your Story here I am Contributing 1 more Similar Story UI Developer Interview Questions for Experienced Professionals.

    ReplyDelete
  4. Thanks for useful information about angularjs interview questions
    Best School in Karnal

    ReplyDelete

  5. It is really very helpful for us and I have gathered some important information from this blog.
    Outsource Angularjs Development in India

    ReplyDelete