1)AngularJS application expressions are pure JavaScript expressions.
a. True
b.Flase
2)Which of the following is the correct syntax for writing AngularJS expressions?
a.expression)
b.{{expression}}
c.{{{expression}}}
d.[expression]
c. ng-bind
d. ng-state
c. CSS
d. All of the above.
8)AngularJS expressions behave in same way as ng-bind directives.
a.false
b.true
c. Expressions behave in the same way as ng-bind directives.
d. All of the above.
11)Which of the following is true about ng-model directive?
a.ng-model directive binds the values of AngularJS application data to HTML input controls.
b.ng-model directive creates a model variable which can be used with the html page and within the container control having ng-app directive.
c.Both of the above.
d.None of the above.
12)Which of the following is true about the ng-controller directive?
a.ng-controller directive tells AngularJS what controller to use with this view.
b. AngularJS application mainly relies on controllers to control the flow of data in the application.
c. A controller is a JavaScript object containing attributes/properties and functions.
d. All of the above.
13)Which of the following is true about the ng-init directive?
a. ng-init directive initializes 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.
14)Which of the following statement specifies the data-binding in AngularJS?
a.Synchronization of data between the model and view components.
b.Synchronization of data between the model and controller components.
c.Synchronization of data between the controller and view components.
d.None of the above
18)can we use data-ng-, instead of ng-, if we want to make your page HTML valid?
21)Can an HTML page have multiple “ng-app” directive for bootstrapping multiple AngularJS application?
b. No
22) Can angular applications (ng-app) be nested within each other? a. Yes
b. No
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
a. true
b. false
a.True
b.False
a. ng-shown, ng-hidden
b. ng-show, ng-hide
c.nt-show, nt-hide
d.ng-shows, ng-hides
a.double braces like {{ expression}}
b.single braces like {expression}
c. small bracket like (expression)
d.capital bracket like [expression]
a.ng-bind
b.ng-binding
c.ng-binds
d.ng-bindings
a.does
b.does not.
a.ng-switch
b.ng-model
c. ng-Disabled
d.ng-Cloak
0 Comments