1. Question:What is AngularJS? 

    Answer
    AngularJS is an open-source JavaScript framework developed by Google. It helps you to create single-page applications or one-page web applications that only require HTML, CSS, and JavaScript on the client side. It is based on MV-* pattern and allow you to build well structured, easily testable, and maintainable front-end applications.






    1. Report
  2. Question:Why to use AngularJS? 

    Answer
    There are following reasons to choose AngularJS as a web development framework:
    1. It is based on MVC pattern which helps you to organize your web apps or web application properly.
    
    2. It extends HTML by attaching directives to your HTML markup with new attributes or tags and expressions in order to define very powerful templates.
    
    3. It also allows you to create your own directives, making reusable components that fill your needs and abstract your DOM manipulation logic.
    
    4. It supports two-way data binding i.e. connects your HTML (views) to your JavaScript objects (models) seamlessly. In this way any change in model will update the view and vice versa without any DOM manipulation or event handling.
    
    5. It encapsulates the behaviour of your application in controllers which are instantiated with the help of dependency injection.
    
    6. It supports services that can be injected into your controllers to use some utility code to fulfil your need. For example, it provides $http service to communicate with REST service.
    
    7. It supports dependency injection which helps you to test your angular app code very easily.
    
    8. Also, AngularJS is mature community to help you. It has widely support over the internet.






    1. Report
  3. Question:What are the advantages of AngularJS? 

    Answer
    There are following advantages of AngularJS:
    - Data Binding - AngularJS provides a powerful data binding mechanism to bind data to HTML elements by using scope.
    - Customize & Extensible - AngularJS is customized and extensible as per you requirement. You can create your own custom components like directives, services etc.
    -Code Reusability - AngularJS allows you to write code which can be reused. For example custom directive which you can reuse.
    - Support – AngularJS is mature community to help you. It has widely support over the internet. Also, AngularJS is supported by Google which gives it an advantage.
    - Compatibility - AngularJS is based on JavaScript which makes it easier to integrate with any other JavaScript library and runnable on browsers like IE, Opera, FF, Safari, Chrome etc.
    - Testing - AngularJS is designed to be testable so that you can test your AngularJS app components as easy as possible. It has dependency injection at its core, which makes it easy to test.






    1. Report
  4. Question:How AngularJS is different from other JavaScript Framework? 

    Answer
    Today, AngularJS is the most popular and dominant JavaScript framework for professional web development. It is well suited for small, large and any sized web app and web application.
    
    AngularJS is different from other JavaScript framework in following ways:
    1. AngularJS mark-up lives in the DOM.
    2. AngularJS uses plain old JavaScript objects (POJO).
    3. AngularJS is leverages with Dependency Injection.






    1. Report
  5. Question:Does AngularJS has dependency on jQuery? 

    Answer
    AngularJS has no dependency on jQuery library. But it can be used with jQuery library.






    1. Report
Copyright © 2025. Powered by Intellect Software Ltd