Js Check If Array Object In Angular