ANGULAR GOOGLE CHARTS QUIZ DESCRIPTION

AngularJS is entirely based on HTML and JavaScript?

  • True
     

  •  False

Which of the following statement is true in the case of a controller in MVC?
 

  • A controller is a software code that controls the interactions between the Model and View.
     

  •  A controller is a software code that stores the data.

  •  A controller is a software code that renders the user interface.

  •  All of the above.

Which directive initializes an AngularJS application?

  • ng-app
     

  •  ng-init

  •  ng-model

  • ng-application

Which directive defines initial values for an AngularJS application?

  • ng-app
     

  •  ng-init

  • ng-model

  •  ng-repeat

Which AngularJS filter limits an array/string, into a specified number of elements/characters?

  • limitTo
     

  •    limit

  •  ng-limit

  • ng-limitTo

What is the library for goggle chart?

  • ng-google-chart.js
     

  •  ng-googlechart.js C ng-google-.js

Which AngularJS filter orders an array by an expression?

  • orderby
     

  •  orderBy

  •  order

  •  OrderBy

Filters can be added to expressions by using the ____________followed by a filter.

  • comma character (,)
     

  • Colon character (:)

  • Hyphen character (-)

  • pipe character (|)

Write a statement with <div> element to initialize two variables (name and age)?

  • <div ng-app="" ng-init="Name:'Alex';Age:21">
     

  • <div ng-app="" ng-init="Name:'Alex',Age:21">

  •  <div ng-app="" ng-init="Name='Alex',Age=21">

  •  <div ng-app="" ng-init="Name='Alex';Age=21">

AngularJS is perfect for     .
 

  • Create Single Page Applications
     

  •  Creating a Desktop Application

  •  Create Web Services

  •  None of these

Which is the correct syntax to write an AngularJS expression using the ng- bind directive?

  • ng-bind="expression"
     

  •    ng-bind={expression}

  •  ng-bind={"expression"}

  •  ng-bind="{{expression}}"

Is AngularJS completely based on HTML and JavaScript?
 

  • Yes

  • No

AngularJS expressions are written inside     .

  • { expression }
     

  •     [{ expression }]

  •  _expression

  •  {{ expression }}

Which AngularJS filter formats a number to a currency format?

  • currency
     

  •  number

  •  dollar

  •  curr

Which AngularJS filter formats an object to a JSON string?
 

  • ng-json
     

  •  json

  •  set-json

  • None of the above

In the below given statement, "myApp" parameter refers to     .

  • a JavaScript code in which the application will run
     

  •  a JSON file

  • an HTML element in which the application will run

  • SQL queries

Which of the below is an Invalid filter in AngularJS?

  • JSON
     

  • limitTo

  •  orderBy

  •  email

Which method of $location service is used to get the search part of the current URL when called without any parameter?

  • searchPath()
     

  •  absSearch()

  •  ruleSearch()

  •  search()

Consider the below statement – what will be the output?
 

  • The value is 10, 30
     

  •  The value is 10, 0

  •  The value is 10, NaN

  • The value is 10,

Consider the below statement – what will be the output?

  • The value is 10 + 30
     

  •     The value is 40

  • The value is NaN

  •  The value is Undefined

AngularJS expressions are written inside     .

  • { expression }
     

  •    [{ expression }]

  •  _expression

  •  {{ expression }}

Which AngularJS filter selects a subset of items from an array?

  • set
    B.    subset
    C.    ng-set
    D.    filter

  • subset

  • ng-set

  •  filter

Which of the following community Angular JS belong to?

  • Twitter
     

  • Facebook

  •  Google

  • Microsoft

Which AngularJS directive is used to bind AngularJS application data to the disabled attribute of HTML elements?

  • ng-disabled
     

  •  ng-disable

  •  ng-disabledElement

  •  ng-disableElement

Which AngularJS service has the set of methods to get the information about the location of the current web?

  • $web
     

  •  $current

  •  $location

  • All of the above

Which AngularJS directive is used to show or hide an HTML element?

  • ng-showHide
     

  •  ng-ShowHide

  • ng-show

  •  ng-hide

Which directive initializes application data?

  • ng-app
     

  •  ng-init

  •  ng-model

  •  ng-application

Which prefix is used with the AngularJS directives?
 

  • ag-
     

  • ng-

  •  aj-

  •  All of the above

Which AngularJS filter formats a date to a specified format?

  • datetime
     

  •    time

  • date

  •  ng-date

Which of the following can be used as a prefix for Directive?

  • data-
     

  •  ng-

  •    Both A and B

  • None of the above