Some basic questions going from easy to difficult. A more exhaustive list of more questions from the community can be found here.
- Whats the difference between components and directives? [ANSWER]: Components are widgets while directives more like decorators for elements and/or components.
- How do you get a reference to a child component? [ANSWER]:
ViewChild/ViewChildrenorContentChild/ContentChildren - What is the difference between
ViewChildandContentChild? - Whats the difference between
NgModulesand ES2015 Modules? - How do you lazy load components and why is lazy loading important?
- Explain Observables and why they are useful.