1.
Select correct form control class name which is set to true via [(ngModel)] whenever value is modified.
2.
We need to call below method of RouterModule for providing all routes in AppModule.
3.
You can create local HTML reference of HTML tag using variable which starts with character.
4.
You can pass data from parent component to child component using . Choose the correct option.
5.
What will be output of below program ?
function f(input: boolean) {
let a = 100;
if (input) {
let b = a + 1;
return b;
}
return b;
}
Nice idea to keep the knowledge fresh