Angular Typescript Check If String