ANGULAR GOOGLE CHARTS QUIZ DESCRIPTION

The $event object contains the 

  • browser's event object
     

  •  browser's current path

  •  Both A. and B.

  • None of the above

AngularJS is entirely based on HTML and JavaScript?

  • True
     

  •  False

Being a JavaScript-only framework, applications written in AngularJS are not safe and secure.

  • True
     

  • False

Which method of $location service is used to get the full URL of the current web page?

  • url()
     

  •  Url()

  • WebUrl()

  • absUrl()

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

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

  • subset

  • ng-set

  •  filter

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

AngularJS is a     .
 

  • HTML Framework
     

  • .Net Framework

  •  JavaScript framework

  •  Oracle Framework

What is the library for goggle chart?

  • ng-google-chart.js
     

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

Which AngularJS filter formats a date to a specified format?

  • datetime
     

  •    time

  • date

  •  ng-date

Consider the below statement – what will be the output?
 

  • Syntax Error
     

  •  Nothing will display

  • Displaying: 5

  •  Displaying: 10

Which AngularJS filter orders an array by an expression?

  • orderby
     

  •  orderBy

  •  order

  •  OrderBy

AngularJS is perfect for     .
 

  • Create Single Page Applications
     

  •  Creating a Desktop Application

  •  Create Web Services

  •  None of these

Which AngularJS filter formats a number to a currency format?

  • currency
     

  •  number

  •  dollar

  •  curr

Which directive repeats an HTML element?

  • ng-repeats
     

  • ng-iterate

  • ng-model

  •  ng-repeat

Consider the below statement – what will be the output?

  • Prints the city names in an unordered list
    B.    Prints the city names in an ordered list
    C.    Prints the all name of the city 3 times in an unordered list
    D.    None of the above

  •  Prints the city names in an ordered list

  • Prints the all name of the city 3 times in an unordered list

  •  None of the above

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

Consider the below statement – what will be the output?

  • The result is: 7.5
     

  •  The result is: 7

  •  The result is: 7.50

  •  The result is: 3*2.5

Which directive defines initial values for an AngularJS application?

  • ng-app
     

  •  ng-init

  • ng-model

  •  ng-repeat

Which is not a valid method of $location service?

  • hostname()
     

  •  host()

  •  path()

  •    hash()

A module created by using the AngularJS function is called?

  • module()
     

  •  module()

  • mod()

  • angular module()

Which of the below is an Invalid filter in AngularJS?

  • JSON
     

  • limitTo

  •  orderBy

  •  email

Which AngularJS filter formats a string to lower case?

  • lwr
     

  •  lower

  •    lowercase

  •  ng-lowercase

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

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

  • comma character (,)
     

  • Colon character (:)

  • Hyphen character (-)

  • pipe character (|)

Which method of $location service is used to get the current URL without any parameters?

  • url()
     

  •  absUrl()

  •  path()

  • absPath()

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

  • limitTo
     

  •    limit

  •  ng-limit

  • ng-limitTo


    The .subscribe in AngularJS is used for?

  •  Streams data asynchronously

  • Both of the above

  • Streams data synchronously

  •  None of the above

How to install Goggle charts library?

  • npm install google-charts
     

  •  npm install angular-google-charts

  •  npm install angular-google-chart

  •  install angular-google-charts

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

  • data-
     

  •  ng-

  •    Both A and B

  • None of the above