Angular Typescript Get Query Javascript Function How To Use