Angular Loop Through Array Python Definition Range