Deck 4: AngularJS Bindings, Directives, and Controllers

ملء الشاشة (f)
exit full mode
سؤال
You can create bindings only for the data values that are added to the . . . . . object by the controller.

A)$action
B)$control
C)$scope
D)none of above
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The ng-bind directive . . . . . . allow you to hide your template markup when the HTML content is shown to the user before it is processed by AngularJS.

A)does
B)does not
C)none
D)all
سؤال
The drawback of inline bindings is that AngularJS will not find and process every set of {{ and }} characters in your content.

A)True
B)False
C)none
D)all
سؤال
When adding . . . . . and . . . . . . to a view, we are essentially instructing Angular to create data bindings that keep the model and view in sync.

A)extrapolations, interpolations
B)scopes, directives
C)directives, interpolation
D)none of above
سؤال
The . . . . . directive is used if you want to add or remove HTML elements from the DOM based on data in the model.

A)ng-switch
B)ng-model
C)ng-Disabled
D)ng-Cloak
سؤال
AngularJS is based on the _____ pattern

A)VMC
B)MVC
C)MCV
D)CVM
سؤال
What is Angular Js?

A)Library
B)Framework
C)Plugin
D)Browser Extension
سؤال
AngularJS applications are a mix of _____

A)HTML and PHP
B)HTML and CrossScript
C)HTML and AngularScript
D)HTML and JavaScript
سؤال
How to include HTML content into another HTML?

A)Server Side push
B)Use of CommetD
C)Use of Polling
D)Use of include
سؤال
What is MVC (Mode View Controller)?

A)It is a services for Java built function
B)It is marker for DOM elements
C)It is a software design pattern for developing web applications
D)None of the above
سؤال
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 the above
سؤال
Which of the following is valid for AngualarJS module

A)var app = angular.module(["myApp","param");
B)var app = angular.module("myApp", []);
C)var app = angular.module();
D)var app = angular.module("myApp");
سؤال
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
سؤال
Which of the following is true about

A)$routeProvider $routeProvider maps Urls with the corresponding html page or ng-template
B)$routeProvider attaches a controller with the view
C)All of these
D)$routeProvider is the key service which set the configuration of urls
سؤال
Which is the right format for calling a ng-bind function?

A)ng-bind
B)ng:bind
C)ng_bind
D)All the Above
سؤال
What is the purpose of angular.module in AngularJS?

A)It creates an application module
B)It invokes an application module
C)It destroys an application module
D)None
سؤال
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, datang-app, ng:app, x-ng-app)
B)Put the named attribute such as (ng-app='demoApp')
C)Both of the above
D)None
سؤال
AngularJS controllers control ___of AngularJS applications.

A)the data
B)thefunction
C)thevariable
D)None of these
سؤال
Which directive defines the application controller?

A)ng-model
B)ng-ctrl
C)ng-controller
D)None of these
سؤال
Whichdirectives bind the input fields to the controller properties?

A)data-ng-model
B)ng-app
C)ng-controller
D)None of these
سؤال
In larger applications,controllers are stored in ___?

A)external files
B)scope object
C)internal files
D)None of these
سؤال
Which statement is true about scope in AngularJS?

A)The scope is the binding part between the HTML (view) and the JavaScript (controller).
B)The scope is an object with the available properties and methods.
C)The scope is available for both the view and the controller.
D)All of the above
سؤال
Controller, which is the JavaScript function that ___ the data?

A)Makes
B)Changes
C)Removes
D)All of the above
سؤال
$rootScoperefers to an object which is accessible from everywhereof theapplication.

A)True
B)False
C)none
D)all
سؤال
$rootScope is created with ___

A)ng-controller
B)ng-app
C)ng-init
D)None of these
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: AngularJS Bindings, Directives, and Controllers
1
You can create bindings only for the data values that are added to the . . . . . object by the controller.

A)$action
B)$control
C)$scope
D)none of above
$scope
2
The ng-bind directive . . . . . . allow you to hide your template markup when the HTML content is shown to the user before it is processed by AngularJS.

A)does
B)does not
C)none
D)all
does
3
The drawback of inline bindings is that AngularJS will not find and process every set of {{ and }} characters in your content.

A)True
B)False
C)none
D)all
False
4
When adding . . . . . and . . . . . . to a view, we are essentially instructing Angular to create data bindings that keep the model and view in sync.

A)extrapolations, interpolations
B)scopes, directives
C)directives, interpolation
D)none of above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
The . . . . . directive is used if you want to add or remove HTML elements from the DOM based on data in the model.

A)ng-switch
B)ng-model
C)ng-Disabled
D)ng-Cloak
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
AngularJS is based on the _____ pattern

A)VMC
B)MVC
C)MCV
D)CVM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
What is Angular Js?

A)Library
B)Framework
C)Plugin
D)Browser Extension
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
AngularJS applications are a mix of _____

A)HTML and PHP
B)HTML and CrossScript
C)HTML and AngularScript
D)HTML and JavaScript
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
How to include HTML content into another HTML?

A)Server Side push
B)Use of CommetD
C)Use of Polling
D)Use of include
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
What is MVC (Mode View Controller)?

A)It is a services for Java built function
B)It is marker for DOM elements
C)It is a software design pattern for developing web applications
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
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 the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following is valid for AngualarJS module

A)var app = angular.module(["myApp","param");
B)var app = angular.module("myApp", []);
C)var app = angular.module();
D)var app = angular.module("myApp");
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following is true about

A)$routeProvider $routeProvider maps Urls with the corresponding html page or ng-template
B)$routeProvider attaches a controller with the view
C)All of these
D)$routeProvider is the key service which set the configuration of urls
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which is the right format for calling a ng-bind function?

A)ng-bind
B)ng:bind
C)ng_bind
D)All the Above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
What is the purpose of angular.module in AngularJS?

A)It creates an application module
B)It invokes an application module
C)It destroys an application module
D)None
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
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, datang-app, ng:app, x-ng-app)
B)Put the named attribute such as (ng-app='demoApp')
C)Both of the above
D)None
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
AngularJS controllers control ___of AngularJS applications.

A)the data
B)thefunction
C)thevariable
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which directive defines the application controller?

A)ng-model
B)ng-ctrl
C)ng-controller
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Whichdirectives bind the input fields to the controller properties?

A)data-ng-model
B)ng-app
C)ng-controller
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
In larger applications,controllers are stored in ___?

A)external files
B)scope object
C)internal files
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which statement is true about scope in AngularJS?

A)The scope is the binding part between the HTML (view) and the JavaScript (controller).
B)The scope is an object with the available properties and methods.
C)The scope is available for both the view and the controller.
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
Controller, which is the JavaScript function that ___ the data?

A)Makes
B)Changes
C)Removes
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
$rootScoperefers to an object which is accessible from everywhereof theapplication.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
$rootScope is created with ___

A)ng-controller
B)ng-app
C)ng-init
D)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.