Angular Typescript Check If Value