Deck 1: AngularJS

Full screen (f)
exit full mode
Question
AngularJS is a library?

A)True
B)False
C)none
D)all
Use Space or
up arrow
down arrow
to flip the card.
Question
Who is sometimes called as Father of AngularJS?

A)Brad Green
B)Igor Minor
C)Misko Hevery
D)Brian Ford
Question
Which of the following is true about ng-init directive?

A)ng-init directive initializes an AngularJS Application data.
B)ng-init directive is used to put values to the variables to be used in the application.
C)Both of the above.
D)None of the above.
Question
Which of the following directive is used to initialize an angular app?

A)ng-model
B)ng-app
C)ng-controller
D)None of the above
Question
ng-app directive defines and links an AngularJS application to HTML.

A)false
B)true
C)none
D)all
Question
AngularJS supports two-way data binding?

A)True
B)False
C)none
D)all
Question
AngularJS expressions are written using.

A)double braces like {{ expression}}
B)single braces like {expression}
C)small bracket like (expression)
D)capital bracket like [expression]
Question
AngularJS is an MVC based framework?

A)True
B)False
C)none
D)all
Question
AngularJS bootstraps itself during config phase.

A)true
B)false
C)none
D)all
Question
Angular initializes based upon which of the following scenario?

A)DOMContentLoaded event happens
B)document.readyState is set to complete
C)Both of the above
D)None of the above
Question
An Angular application can be initialized on ______?

A)Only HTML element
B)ANY element
C)none
D)all
Question
Can an HTML page have multiple "ng-app" directive for bootstrapping multiple AngularJS application?

A)Yes
B)No
C)none
D)all
Question
With more than one ng-app in an HTML document (an HTML page), are all of them automatically initialized?

A)Yes
B)No
C)No, only one app is automatically initialized. Others have to manually initialized.
D)none of the above
Question
Can angular applications (ng-app) be nested within each other?

A)Yes
B)No
C)none
D)all
Question
What are various possible prefixes such as 'ng-' using which Angular directives (for example, ng-app) can be defined?

A)'ng-', 'data-ng-', 'ng:'
B)'ng-'
C)'ng-', 'data-ng-', 'ng:', 'x-ng-'
D)'ng-', 'data-ng-','x-ng-'
Question
What are various possible ways in which angular application can be initialized?

A)On an element, one could either put simply the attribute such as (ng-app, data-ng-app, ng:app, x-ng-app)
B)Put the named attribute such as (ng-app='demoApp')
C)Both of the above
D)none
Question
filter filter is applied to an expression using pipe character.

A)true
B)false
C)none
D)all
Question
What angular function is used to manually start up an angular application?

A)angular.bootstrap
B)angular.element
C)angular.copy
D)None of the above
Question
Which components can be injected as a dependency in AngularJS?

A)Application Module
B)constant
C)value
D)factory
Question
Can multiple angular applications be bootstrapped using same element??

A)Yes
B)No. An error is thrown such as 'App Already Bootstrapped with this Element'
C)none
D)all
Question
At framework level, how does Angular retrieve the matching elements for processing?

A)Makes use of jqLite(element) function.
B)If jQuery is used, jQuery(element) is used by way of assigning jQuery to jqLite variable
C)Both of the above
D)None of the above
Question
Directives can be applied to which all element type?

A)Element
B)Attribute
C)Comment
D)All of the above
Question
angular.module is primarily used to create application module.

A)true
B)false
C)none
D)all
Question
Which API need to be invoked on the rootScope service to get the child scopes?

A)new
B)$new
C)none
D)all
Question
Which angular module is loaded by default?

A)ng
B)ng-app
C)none
D)all
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: AngularJS
1
AngularJS is a library?

A)True
B)False
C)none
D)all
False
2
Who is sometimes called as Father of AngularJS?

A)Brad Green
B)Igor Minor
C)Misko Hevery
D)Brian Ford
Misko Hevery
3
Which of the following is true about ng-init directive?

A)ng-init directive initializes an AngularJS Application data.
B)ng-init directive is used to put values to the variables to be used in the application.
C)Both of the above.
D)None of the above.
Both of the above.
4
Which of the following directive is used to initialize an angular app?

A)ng-model
B)ng-app
C)ng-controller
D)None of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
ng-app directive defines and links an AngularJS application to HTML.

A)false
B)true
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
AngularJS supports two-way data binding?

A)True
B)False
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
AngularJS expressions are written using.

A)double braces like {{ expression}}
B)single braces like {expression}
C)small bracket like (expression)
D)capital bracket like [expression]
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
AngularJS is an MVC based framework?

A)True
B)False
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
AngularJS bootstraps itself during config phase.

A)true
B)false
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Angular initializes based upon which of the following scenario?

A)DOMContentLoaded event happens
B)document.readyState is set to complete
C)Both of the above
D)None of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
An Angular application can be initialized on ______?

A)Only HTML element
B)ANY element
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Can an HTML page have multiple "ng-app" directive for bootstrapping multiple AngularJS application?

A)Yes
B)No
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
With more than one ng-app in an HTML document (an HTML page), are all of them automatically initialized?

A)Yes
B)No
C)No, only one app is automatically initialized. Others have to manually initialized.
D)none of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
Can angular applications (ng-app) be nested within each other?

A)Yes
B)No
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
What are various possible prefixes such as 'ng-' using which Angular directives (for example, ng-app) can be defined?

A)'ng-', 'data-ng-', 'ng:'
B)'ng-'
C)'ng-', 'data-ng-', 'ng:', 'x-ng-'
D)'ng-', 'data-ng-','x-ng-'
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
What are various possible ways in which angular application can be initialized?

A)On an element, one could either put simply the attribute such as (ng-app, data-ng-app, ng:app, x-ng-app)
B)Put the named attribute such as (ng-app='demoApp')
C)Both of the above
D)none
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
filter filter is applied to an expression using pipe character.

A)true
B)false
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
What angular function is used to manually start up an angular application?

A)angular.bootstrap
B)angular.element
C)angular.copy
D)None of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
Which components can be injected as a dependency in AngularJS?

A)Application Module
B)constant
C)value
D)factory
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
Can multiple angular applications be bootstrapped using same element??

A)Yes
B)No. An error is thrown such as 'App Already Bootstrapped with this Element'
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
At framework level, how does Angular retrieve the matching elements for processing?

A)Makes use of jqLite(element) function.
B)If jQuery is used, jQuery(element) is used by way of assigning jQuery to jqLite variable
C)Both of the above
D)None of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
Directives can be applied to which all element type?

A)Element
B)Attribute
C)Comment
D)All of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
angular.module is primarily used to create application module.

A)true
B)false
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
Which API need to be invoked on the rootScope service to get the child scopes?

A)new
B)$new
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
Which angular module is loaded by default?

A)ng
B)ng-app
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.