Angular Loop Over Array Javascript Length Of Object