How To Use Javascript In Angular Component