NEW
Font size
WorksheetsAngular 4
Total questions: 25
Worksheet time: 12mins
What is the term Angular CLI?
Angular Command-line
Angular Command-line user interface
Angular Command-line interface
Angular Command-line interceptor
Who was Angular developed by?
Netflix
Angular
"ng serve" is a command for what?
Order Run service
Run project order
Order update project
Run component
How many types of Data Binding are there?
1 type
2 type
3 type
4 type
What command do I need to use Generate component 1 component?
ng g c component-name
ng gen component component-name
ng g com component-name
ng generate com component-name
Which of these are all Angular directives?
NgIf,NgFor,NgLoop
NgClass,NgSwitch,NgDate
NgFor,NgSwitch,NgClass
NgClass,NgLoop,NgIf
What is the quality that is not in Angular?
Directives
Pipes
Component
RoutingLink
What does SPA mean ?
Animal protection Society
Secure Password Authentication
Single Page Application
Sense Plan Act
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
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
If I write {{myValue}} in a template, I use?
interpolation
property binding
event binding
If I write <button (click) = "onClick ()"> in a template, I use?
interpolation
property binding
event binding
If I write <a [title postale="myValue"> in a template, I use?
interpolation
property binding
event binding
*ngIf and *ngFor are?
Attribute directives
Component directives
Services
Structural directives
The router allows
Associate URLs with components
To associate values with services
To observe the observables
What mechanism is used to use a service in a component?
Dependency injection
Legacy
Polymorphism
Which of these are angular directives?
Ng- app, Ng-model, Ng-mod
Ng- apc Ng-mod Ng-blind
Ng- app, Ng-model, Ng-bind
Angular expressions are written in:
[ [expresión ] ]
"" expresión ""
((expresión))
{{ expresión}}
Angular Router is a ....
Component for navigation rules
Module for navigation rules
Fix for navigation rules
Constant for navigation rules
What event should be used to finish work with form?
(click) on button
(ngSubmit) on button
(click) on form
(ngSubmit) on form
What class shows that user putted cursor in input?
ng-touched
ng-pristine
ng-valid
ng-untouched
Which tool allows you to manage the dependencies of a frontend project?
NodeJS
npm
TypeScript
webpack
What does this syntax do? routerLink="/home"
It navigates to the component with a name matching the assigned string
It links a route to a service by matching the assigned string to a service class name
It links a route with data by matching the assigned string to a property name
It navigates to the component with a path matching the assigned string
What command will create a new Angular app with a root routing module?
ng generate my-dream-app
ng new my-dream-app --module
ng generate my-dream-app --routing
ng new my-dream-app
ng new my-dream-app --routing
What is a routerOutlet?
A directive defined in the HTML identifying the route to activate
A directive defined in the HTML indicating where a route's view should display
A decorator defining the template to display when a route is activated
A property of a component class used to activate a route
