Angular Loop Through Two Arrays Python Numpy Geeksforgeeks Javascript