Return to site

ANGULAR INTERVIEW QUESTION: What are the main parts of an Angular application?

ยท ngInterview,fullstack

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.