Q.1
Which of these are all Angular directives?
  • NgIf,NgFor,NgLoop
  • NgClass,NgSwitch,NgDate
  • NgFor,NgSwitch,NgClass
  • NgClass,NgLoop,NgIf
Q.2
What is the quality that is not in Angular?
  • Directives
  • Pipes
  • Component
  • RoutingLink
Q.3
What is the @Input decorator for?
  • Share data from a parent component to a child
  • Share data from a child component to a parent
  • Use event binding
  • Use a service
Q.4
Which of the following is not built-in pipe in Angular?
  • DatePipe
  • CurrencyPipe
  • DataPipe
  • PercentPipe
Q.5
Which are the different Data Types supported by Typescript?
  • Boolean var bValue: boolean = false
  • Number var age: number = 16
  • String var name: string = "jon"
  • All of the above
Q.6
Which of the following is a valid AngularJS expression?
  • {{ 2 + 2 }}
  • { 2 + 2 }
  • (( 2 + 2 ))
  • { (2 + 2) }
Q.7
Which of the following is true about ng-init directive?
  • ng-init directive initializes an AngularJS Application data.
  • ng-init directive is used to put values to the variables to be used in the application.
  • both
  • none
Q.8
Which of the following directive bootstraps AngularJS framework?
  • ng-init
  • ng-app
  • ng-controller
  • ng-bootstrap
Q.9
What decorator is used to make a class a service?
  • Injector
  • Service
  • Injectable
  • Component
Q.10
The . . . . . directive is used if you want to add or remove HTML elements from the DOM based on data in the model.
  • ng-switch
  • ng-model
  • ng-Disabled
  • ng-Cloak
Q.11
If I write <button (click) = "onClick ()"> in a template, I use?
  • interpolation
  • property binding
  • event binding
Q.12
What is the @Output decorator for?
  • Share data from a parent component to a child
  • Share data from a child component to a parent
  • Use event binding
  • Use a service
Q.13
We can apply multiple structural directives to a host element?
  • TRUE
  • FALSE
Q.14
We can apply multiple attribute directives to a host element?
  • TRUE
  • FALSE
Q.15
When you import RouterModule in a feature module (not Root module) which function would you use?
  • forRoot()
  • forFeature()
  • forModule()
  • forChild()
Q.16
In AngulsrJS HTML document is loaded and evaluated first in the browser. Mean while in AngularJS _________ ?
  • JavaScript file is loaded
  • The angular global object is created
  • Your JavaScript which registers controller functions is executed
  • All of above
Q.17
Which of the following directive allows us to use form?
  • ng-app
  • ng-form
  • ng-controller
  • ng-bind
Q.18
AngularJS is a library?
  • true
  • false
Q.19
Angular JS is Library or Framework?
  • Library
  • Framework
Q.20
Most used CSS frameworks are
  • Bootstrap
  • Semantic UI
  • SASS
  • Foundation
0 h : 0 m : 1 s