Zeta Global interview question

How to convert angular js to angular2+