Synechron interview question

angular 4 components registration