Essential Terminology Questions
- How will you protect a route for authorized user only?
- What is a custom pipe and how will you use it?
- What is a structural directive?
- What is the difference between RouterModule.forRoot() vs RouterModule.forChild()? Why is it important?
- What is the difference between a module's forRoot() and forChild() methods and why do you need it?
- What's the difference between dirty, touched, and pristine on a form element?
- What is an async pipe? What kind of data can be used with async pipe?
- What is injectable? Give me some example.
- What is a pure pipe?
- How will you create two-way data binding in Angular?
Comfortability to Build Medium Size App Questions
- How do components communicate with each other?
- How do you decide to create a new NgModule?
- How will you inject custom header in your http call?
- How do you identify a structural directive in html?
- How would you select a custom component to style it?
- How would you select all the child components' elements?
- How would you cache an observable data?
- How would you save data from a form control?
- How Event Emitters works in Angular?
- How do you mock a service to inject in a unit test?
Core Concepts Understandability Questions
- Tell me about feature module and shared module?
- What would you not put in a shared module?
- Why angular uses decorator?
- What is async validation and how is it done?
- Why do you need type definitions?
- Which components will be notified when an event is emitted?
- Why would you export from ngModule?
- Why is it bad if SharedModule provides a service to a lazy loaded module?
- Can you explain the difference between ActivatedRoute and RouterState?
- Which service will you put in the module and why?
0 comments:
Post a Comment