Monday, September 3, 2018

InfoVisionLabs

1. We have task and we have four types of task which design pattern used to create a task.
2.What is explicitly implementation of interface.
3. Difference between multi threading and async  await.
4. What are Filter in MVC?
Ans : https://interview-preparation-for-you.blogspot.com/2018/01/filters-in-mvc.html 5. How will you handle run time exception?
6. Difference between let and var
7. Communication between child and parent, parent to child
8. When ngOnChange called?
9. SOLID princile
10. Factory and Abstract Factory pattern
11. How to inherit in typescript?
12.What is ViewContainerRef.
If you ever needed to insert new component or template programmatically, you probably used the ViewContainerRef service. https://netbasal.com/angular-2-understanding-viewcontainerref-acc183f3b682
https://indepth.dev/posts/1052/exploring-angular-dom-manipulation-techniques-using-viewcontainerref

13. What is Union & Intersection in typescript
14. How to make a service accesbile only for some component?
Ans : Register the service inside component provider property of the @Component() metadata. When you register a provider at the component level, you get a new instance of the service with each new instance of that component.
src/app/hero-list.component.ts (component providers)
content_copy
@Component({
  selector:    'app-hero-list',
  templateUrl: './hero-list.component.html',
  providers:  [ HeroService ]
})
15 What is Node in angular?
16 What Node does in angular in development environment to run application.

No comments:

Followers

Link