Capgemini interview question

Why angular and why typescript is using more in UI .