Angular Loop Through Array Python Example Problem