Lnt Infotech interview question

Singleton component in angular and its structure