Angular Set Input Value From Typescript Vs Javascript