Angular Quiz Angular Quiz #1 September 28, 2020October 3, 2020 Satya P Pandey 1 Comment daily quiz Spread the love 1. Select correct form control class name which is set to true via [(ngModel)] whenever value is modified.ng-pristineng-dirty.ng-pending.ng-invalid2. What will be output of below program ? function f(input: boolean) { let a = 100; if (input) { let b = a + 1; return b; } return b; } Compilation error of a101Compilation error of bUndefined3. You can pass data from parent component to child component using . Choose the correct option.OutputInput@Output@Input4. We need to call below method of RouterModule for providing all routes in AppModule.RouterModule.forChildRouterModule.forRootRouterModuleRouterModule.import5. You can create local HTML reference of HTML tag using variable which starts with character.*&#@Time is Up! Spread the love
Nice idea to keep the knowledge fresh