Top 50+ Solved AngularJS Dependency Injection, Services MCQ Questions Answer
Q. Angular 2 integrates easily with NativeScript, allowing you to code your nativeapp in a . . . . . . . . . style that can run on any mobile device platform.
a. declarative
b. imperative
c. interrogative
d. exclamatory
Q. In Angular 2, applications rely upon the . . . . . . . method to load top-levelcomponents
a. loadstrap
b. bootstrap
c. bootload
d. none of above
Q. In Angular 2.0, the template compilation process is . . . . . . .
a. synchronous
b. asynchronous
c. none
d. all
Q. On the opposite side of event bindings (()) lie Angular's square-bracket syntax ([]) which signify a . . . . . .
a. property binding
b. class binding
c. style binding
d. both A & B
Q. The router in Angular 2.0 has been reworked to be simple, yet extensible. Itwill include the following basic features:
a. Simple JSON-based Route Config
b. Optional Convention over Configuration
c. Static, Parameterized and Splat Route Patterns
d. URL Unresolver
Q. The _______ directive is used if you want to add or remove HTML elementsfrom the DOM based on data in the model.
a. ng-switch
b. ng-model
c. ng-Disabled
d. ng-Cloak
Q. What is the purpose of $http?
a. It is an inbuilt service used to make ajax call to get the server dat
b. It is the Http protocol
c. It generates hyper text mark up language
d. None
Q. What MVC stands for?
a. Model View Control
b. Model View Controller
c. Main View Controller
d. Main View Control
Q. Which of the following is true about orderby filter?
a. orderby filter orders the array based on provided
b. orderby filter is used to filter the array to a subset of it based on provided criteria
c. Both of the above
d. None of the above
Q. Which of the following is true about ng-app directive?
a. ng-app directive defines and links an AngularJS application to HTML
b. ng-app directive indicates the start of the application
c. Both of the above
d. None of the above
Q. AngularJS is a powerful javascript framework, used for developing _________ projects.
a. run time
b. java script
c. php
d. SPA
Q. SPA (Single Page Application). This means that the navigation within Netflix isperformed without refreshing the whole page.
a. True
b. False
c. none
d. all
Q. The ______ tag defines a division or a section or block in an HTML document.
a. <div>
b. <block>
c. <span>
d. none of these.