Wissen Infotech interview question

Angular 2 Basic component design