1.
Which of the following services is called only once in Angular 2?
2.
Directive definition follows which kind of naming convention
3.
In Angular 2, what is the number of main building blocks that the architecture diagram identifies?
4.
What is the property name in the following Angular 2 code:
export class AppComponent {
appTitle: string = 'Sample';
}
5.
The following Angular 2 code is an example of a __________________ typing.
public subtractNumbers(number1, number2){
return number1 - number2;
}
6.
The following Angular 2 code is an example of a __________________ function.
var additionFunc = function (number1: number, number2: number): number {
return number1 + number2;
}
7.
Which of the following is incorrect?
8.
What does the below command do
angular.injector(['main']).get('base64');
9.
Which of the following is true in Angular 2?
10.
In Angular 2, which of the following is used to concatenate strings?