AngularJS Interview Questions and Answers

Q.1 What is AngularJS?

Ans. AngularJS is a one of the best open source JavaScript Framework and that is used for dynamic single page application. AngularJS extends HTML tags as a directives and angularJS introduced by the giant, Google.

Q.2 List down key features of AngularJS?

Ans. Here, I’m going to list down AngularJS key features.

  • Scope
  • Controller
  • Model
  • View
  • Services
  • Data Binding
  • Directives
  • Filters
  • Testable

Q.3 Is AngularJS compatible with all browsers?

Ans. Yes, AngularJS support all browsers.

Q4. Explain what is data binding in AngularJS?

Ans. AngularJS support three types of data binding such as-

  1. One Way Data Binding
  2. Two Way Data Binding
  3. One Time Data Binding

Q5. Mention what are the characteristics of “Scope”?

Ans. The AngularJS Scope working as Object and containing a model variables and traverse the data from model to view.

Q6. Who created AngularJS?

Ans. AngularJS developed by Misko Hevery and Adam Abrons. Currently it is being developed by Google.

Q7. What are AngularJS directives?

Ans.The AngularJS Directives start with ng-prefix and AngularJS directives allow the developer to specify custom and reusable HTML-like elements and attributes that define data bindings and the behavior of presentation components. Some of the most commonly used directives are:

  • ng-class
  • ng-app
  • ng-repeat
  • ng-model
  • ng-bind
  • ng-init
  • ng-animate
  • ng-controller
  • ng-if
  • ng-switch
  • ng-view
  • ng-hide
  • ng-show

Q8. List the different types of directives.

Ans. In angularJS four different types of directives such as-

  1. Element directives
  2. Attribute directives
  3. CSS class directives
  4. Comment directives

Q9. What is the current version of AngularJS .

Ans. AngularJS current version stable released 1.7.4 and previous released 1.7.

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

Leave a Reply

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

error: