Check Empty Array In Angular Typescript Version