Top angular Questions And Answers

Posted On:December 8, 2018, Posted By: Latest Interview Questions, Views: 1038, Rating :

1. What is AngularJS?

AngularJS is a framework to build large scale and high performance web application while keeping them as easy-to-maintain. Following are the features of AngularJS framework.

AngularJS is a powerful JavaScript based development framework to create RICH Internet Application (RIA).

AngularJS provides developers options to write client side application (using JavaScript) in a clean MVC (Model View Controller) way.

Application written in AngularJS is cross-browser compliant. AngularJS automatically handles JavaScript code suitable for each browser.

AngularJS is open source, completely free, and used by thousands of developers around the world. It is licensed under the Apache License version 2.0.

2. What is scope in AngularJS?

Scopes are objects that refer to the model. They act as glue between controller and view.

3. What are the advantages of AngularJS?

Following are the advantages of AngularJS.

  1. AngularJS provides capability to create Single Page Application in a very clean and maintainable way.
  2. AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience.
  3. AngularJS code is unit testable.
  4. AngularJS uses dependency injection and make use of separation of concerns.
  5. AngularJS provides reusable components.
  6. With AngularJS, developer writes less code and gets more functionality.
  7. In AngularJS, views are pure html pages, and controllers written in JavaScript do the business processing.
  8. AngularJS applications can run on all major browsers and smart phones including Android and iOS based phones/tablets.