Angular

  • 1/20

    What will be the output of below program?

    function f(input: boolean) {
    let a = 100;

    if (input) {
    let b = a + 1;
    return b;
    }
    return b;
    }
    Next >
  • 2/20

    In Angular, you can pass data from parent component to child component using...

    Next >
  • 3/20

    In Angular, you can pass data from child component to parent component using

    Next >
  • 4/20

    You can create local HTML reference of HTML tag using variable which starts with character

    Next >
  • 5/20

    A directive which modifies DOM hierarchy is called

    Next >
  • 6/20

    Select correct form control class name which is set to true via [(ngModel)] whenever value is modified

    Next >
  • 7/20

    If you provide a custom service in two components’ “providers” section of @Component decorator, how many instances of service shall get created?

    Next >
  • 8/20

    Custom pipe can modify actual value of variable apart from different presention in HTML.

    Next >
  • 9/20

    In Angular routing, below tag is used to render matched component via active route.

    Next >
  • 10/20

    We need to call below method of RouterModule for providing all routes in AppModule

    Next >
  • 11/20

    Async Pipe subscribes to observer and update expression whenever there is data sent from observer

    Next >
  • 12/20

    Below command is used to run Static Code analysis of Angular application

    Next >
  • 13/20

    Router service needs to be explicitly provided in angular module to use it in other component via DI

    Next >
  • 14/20

    We can chain multiple pipe in a single expression along with “async” pipe

    Next >
  • 15/20

    Below component represent “target/host” DOM element inside Directive’s constructor

    Next >
  • 16/20

    To build application in production mode, use below command

    Next >
  • 17/20

    Directive can listen to host/target events using below decoarator

    Next >
  • 18/20

    Using below wild card we can define page not found route

    Next >
  • 19/20

    There can be more than one <router-outlet> element in angular application

    Next >
  • 20/20

    Below service can be used to extract route parameters inside component

    Next >
  • If You want to see your results leave Your e-mail (optional)