ANGULAR INTERVIEW QUESTION: What are the main parts of an Angular application?
There are nine parts:
๐) ๐๐ก๐ ๐๐จ๐ฆ๐ฉ๐จ๐ง๐๐ง๐ญ๐ฌ: a component is TypeScript class which handles the business, and the GUI.
๐) ๐๐ก๐ ๐ญ๐๐ฆ๐ฉ๐ฅ๐๐ญ๐๐ฌ: each component is bound to a template to manage the display.
๐) ๐๐๐ญ๐-๐๐ข๐ง๐๐ข๐ง๐ : gear which match the component data with the template.
๐) ๐๐๐๐จ๐ซ๐๐ญ๐จ๐ซ๐ฌ: metadata to describe a class for Angular inner processing.
๐) ๐๐จ๐๐ฎ๐ฅ๐๐ฌ: Aggregation of components, services, directives... related to a specific business topic.
๐) ๐๐ข๐ซ๐๐๐ญ๐ข๐ฏ๐๐ฌ: class that extends the power HTML with custom features.
๐) ๐๐จ๐ฎ๐ญ๐ข๐ง๐ : ๐ก๐๐ง๐๐ฅ๐ the URLs so that it matches the right component.
๐) ๐๐๐ซ๐ฏ๐ข๐๐๐ฌ: class that can be injected elsewhere bringing utility functions.
๐) ๐๐๐ฉ๐๐ง๐๐๐ง๐๐ฒ ๐ข๐ง๐ฃ๐๐๐ญ๐ข๐จ๐ง: coupling of classes through components calls in the constructor of the requiring class.