Check If Element Exists In Array Angular Frequency