Angular Loop Over Array Python Methods