Top 150+ Solved Angular-JS MCQ Questions Answer
Q. AngularJS applications are a mix of . . . . . .
a. HTML and PHP
b. HTML and CrossScript
c. HTML and AngularScript
d. HTML and JavaScript
Q. There is a controller which takes single parameter. We call it . . . . .parameter.
a. $param
b. $control
c. $scope
d. $scont
Q. First the HTML document is loaded into the browser, and evaluated by thebrowser. At this time the AngularJS . . . . . . .
a. JavaScript file is loaded,
b. the angular global object is created,
c. your JavaScript which registers controller functions is executed,
d. all of above
Q. AngularJS can show or hide HTML depending on the state of data in the model. You do so using a set of AngularJS directives such as . . . . . . which are created specifically for that purpose.
a. ng-shown, ng-hidden
b. ng-show, ng-hide
c. nt-show, nt-hide
d. ng-shows, ng-hides
Q. Angular 2 is entirely component based. Controllers and $scope are no longerused. They have been replaced by . . . . . . . and . . . . . . . .
a. components, controllers
b. $scopes, components
c. components, directives
d. controllers, directives
Q. Angular 2 components can be described using . . . . . . A . . . . . . is a way to dosome meta-programming.
a. controllers, controller
b. loaders, loader
c. typescripts, typescript
d. decorators, decorator
Q. Angular 2 uses . . . . . . . . syntax for built-in directives.
a. Pascal case
b. Snake case
c. Camel case
d. Underscore case
Q. You can use languages like . . . . . . . . . to write Angular 2 code.
a. ES5
b. ES6
c. TypeScriptor
d. Dart
Q. The . . . . . . . . . . directive substitutes the normal href property and makes iteasier to work with route links in Angular 2.
a. RouterLink
b. RouterRend
c. RouterLike
d. RouterLayer
Q. There are two ways to build forms in Angular 2, namely . . . . and . . . . . .
a. interface-driven
b. model-driven
c. template-driven
d. modular-driven
Q. Angular 2 is an open source JavaScript framework to build web applications inHTML and JavaScript and has been conceived as a . . . . . . . . .
a. mobile first approach
b. UI first approach
c. web first approach
d. all of above
Q. Angular 1 core concept was $scope, and you will not find $scope in angular2.0. Angular 2 is using . . . . . . . . to detect changes.
a. zone$.js
b. Scope.js
c. zone.js
d. zones.js