1. Question: Which of the following is true about $dirty flag?

    A
    $dirty flag states that value has been changed.

    B
    $dirty flag states that form has invalid data.

    C
    Both of the these.

    D
    None of the above.

    Note: $dirty flag states that value in the form has been changed.
    1. Report
  2. Question: Which of the following is true about $invalid flag?

    A
    $invalid flag states that value has been changed.

    B
    $invalid flag states that form has invalid data.

    C
    Both of the these.

    D
    None of the these.

    Note: Not available
    1. Report
  3. Question: Which of the following is true about AngularJS service?

    A
    Services are JavaScript functions.

    B
    Services are responsible to do specific tasks only

    C
    Inbuilt services are always prefixed with $ symbol.

    D
    All of these

    Note: Services are JavaScript functions and are responsible to do specific tasks only. Each service is responsible for a specific task for example, $http is used to make ajax call to get the server data. $route is used to define the routing information and so on. Inbuilt services are always prefixed with $ symbol.
    1. Report
  4. Question: What are the services in AngularJS?

    A
    Services are singleton objects which are instantiated only once in app and are used to do the defined task.

    B
    Services are objects which AngularJS uses internally.

    C
    Services are not used in AngularJS.

    D
    Services are server side components of AngularJS.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd