
Migrating to Angular 2 (Video 14)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the NgUpgrade package in the migration process?
To downgrade Angular 2 components to Angular 1.x
To remove Angular 1.x code entirely
To upgrade Angular 2 components to Angular 3
To facilitate the mixing of Angular 1.x and Angular 2 code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the UpgradeAdapter in the migration process?
To convert Angular 2 code to Angular 1.x
To upgrade Angular 2 code to Angular 3
To allow Angular 1.x and Angular 2 code to coexist
To remove Angular 1.x code
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be removed from the HTML code when preparing for the Angular 2 upgrade?
Ng-repeat
Ng-app
Ng-model
Ng-controller
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in preparing the application for the Angular 2 upgrade?
Adding Angular 2 to the package.json file
Creating new Angular 2 components
Updating the CSS files
Removing all Angular 1.x components
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are Angular 2 services made injectable?
By using the NgService annotation
By adding an Injectable annotation
By adding a Service annotation
By using the NgInject annotation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key feature of Angular 2 services compared to Angular 1.x?
They are modules
They are functions
They are directives
They are classes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is used in TypeScript to inject objects based on class names?
Modules
Interfaces
Destructors
Constructors
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?